Skip to main content

Discord integration

The Biel.ai Discord bot lets members of your server ask questions about your documentation in any channel using the /ask slash command.

Discord Integration

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. Open your project in the Biel.ai dashboard, then click Settings.
  2. Select Integrations in the settings sidebar. On the Discord card, click Connect.
  3. Discord opens an authorization page. Select the server where you want to install the bot and click Authorize.
  4. After authorizing, you are redirected back to Biel.ai and the bot is connected.

The /ask command is available to all members of the server.

Usage​

Asking questions​

In any channel in your server, type:

/ask question: How do I reset my password?

When you run /ask from a channel root, Biel posts the reply and opens a public Discord thread anchored to it. Run /ask again inside that thread to ask follow-up questions with the conversation history kept. A new /ask from the channel root always opens a new thread with fresh context. In DMs, the bot has no threads, so all /asks in the same DM share one conversation.

Starting a new conversation​

Run /clear inside a thread or DM to reset its context. Only you see the confirmation, and your next /ask starts a fresh conversation.

Not getting answers?

Make sure your Biel.ai project has indexed content. Open the project dashboard and check that it shows Sources loaded.

To disconnect, open your project’s Settings > Integrations, click Disconnect on the Discord card, and confirm Disconnect. To reconnect, add the bot to the server again.

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

In your project’s dashboard, click Refresh sources and wait for Sources loaded. Check Logs if indexing fails.


Need help? Contact us or visit the support page.