Discord integration
The Biel.ai Discord bot lets members of your server ask questions about your documentation directly in any channel using the /ask slash command.
What you can do
- Slash command — members use
/askto get instant answers from your documentation. - Cited sources — every answer includes links to the relevant documentation pages.
- Works in any channel — the bot responds wherever it has permission, no setup per channel required.
Prerequisites
- A Biel.ai account with a project that has indexed content.
- A Discord server where you have Manage Server permission (required to authorize bots).
Setup
1. Connect the bot to your server
- Go to your project settings in the Biel.ai dashboard.
- Under the Integrations section, find the Discord card and click Add to Discord.
- Discord opens an authorization page. Select the server where you want to install the bot and click Authorize.
- After authorizing, you are redirected back to Biel.ai and the bot is connected.
The /ask command is registered immediately and available to all members of the server.
2. Disconnect the bot
To remove the bot from a server, kick it directly from your Discord server settings under Integrations > Bots and Apps. Biel.ai detects the removal and unlinks the server automatically.
Usage
In any channel in your server, type:
/ask question: How do I reset my password?
The bot responds with an answer sourced from your documentation, including links to the relevant pages.
Make sure your Biel.ai project has indexed content. You can check this from the Sources tab in your project settings.
Troubleshooting
The /ask command doesn't appear
Discord can take a few seconds to register new slash commands. Wait a moment and try again. If it still doesn't appear, try restarting your Discord client.
The bot doesn't respond
Check that the bot has Send Messages and Use Application Commands permissions in the channel. These can be configured in the channel's permission settings.
The bot gives incorrect or outdated answers
Re-index your documentation in the Biel.ai dashboard to make sure the bot is querying the latest content.
Need help? Contact us or visit the support page.