Edit box/config.py
with a database settings.
Follow the next steps using console:
python3.7 -m venv .venv/egnyte
source .venv/egnyte/bin/activate
pip install -r requirements.txt
export FLASK_APP=box.app
flask db upgrade
flask create-user admin [email protected] password
python run.py
- Run ngrok under 5000 port -
./ngrok http 5000
- Edit
box/integration/config.py
, changeBOX_REDIRECT_URI
settings to match your ngrok URL.
Then:
- Open your ngrok URL and click on
Login
- enteradmin
/password
credentials. - Click on
Integrate Box
. - Use Box login credentials from Slack.
- Allow access for our app.
- You should see a success integration message
Box integration successfully added!
. - Click on
Poll events
to initiate a long polling request and wait for a new event. - Click on
Admin logs
to retrieve all admin logs.