-
The Plugin framework allows developers to build custom web content that can be displayed within their financial institution's branded banking app on the Banno platform.
-
This example plugin demonstrates how to build a Banno Plugin in Python, and is best used when following along with: Build Your First Plugin quickstart.
-
There is already a Simple Plugin Example for JavaScript, which you can find here.
-
Because this Plugin is specific to Python, the setup and run instructions will differ a bit from the JavaScript quickstart tutorial. Read below for instructions specific for this Plugin.
-
The Static Plugin displays static content without user data. The page is named default because static is a keyword in Flask.
-
The Dynamic Plugin displays content with user data, obtained through authentication.
- Configure external app in Banno People with correct redirect uri(s):
- primary redirect uri:
http://localhost:5000/default
- Configure external app in Banno People with correct redirect uri(s):
- primary redirect uri:
http://localhost:5000/auth - secondary redirect uri:
http://localhost:5000/auth/callback
- Rename config-EXAMPLE.json to config.json
- Add
client_id,client_secret, andredirect_urito the config file.
- redirect uri:
http://localhost:5000/auth/callback
- After configuring run environment, add the plugin to the user dashboard.
See Build Your First Plugin quickstart.
-
Go to the application folder:
cd simple-plugin-example-Python -
Create a virtual environment for the app:
On windows:
py -m venv .venv
.venv\scripts\activate
On macOS/Linux:
py -m venv .venv
.venv\scripts\activate
-
Install the dependencies
pip install -r requirements.txt -
Run the plugin app:
python -m flask run -
Log into the Banno platform to view the plugin
Can be found on the SCREENSHOTS README.