Setup Instructions
Below is a guide on how to connect to AAQ endpoints using a provided demo flow.
You can either use the cloud-hosted Typebot service or self-host the application (see "Deployment" below).
Demo AAQ flow
- Go to your Typebot instance
- Make an account and login
- Go to "Create a typebot" and then "Import a file"
- Load the
.json
file given underchat_managers/typebot/
in the AAQ repo -
Edit the "API Call" cards to reflect the AAQ endpoint URL that you have running
a. Click on the card b. Change the base of the URL at the top c. Add the bearer token in the Headers section.
-
Test the bot in the emulator
Deployment
For self-hosting, you can either follow the official docs or follow our quick start below:
Step 1: Navigate to chat_managers/typebot/deployment/
Step 2: Copy template.env
to .env
and edit it to set the variables
You must configure at least one login option while setting the environment variables.
We recommend either Github or Google authentication. See Typebot's docs for details.
Step 3: Run docker compose
docker compose -p typebot-stack up -d --build
You can now access Typebot at https://[DOMAIN]/
Step 4: Shutdown containers
docker compose -p typebot-stack down