Skip to content
Try Free →

Connect Discord

Create a Discord application, paste its Application ID, Public Key and bot token into AskVault, set the Interactions Endpoint URL AskVault gives you, and invite the bot. Members then ask questions with /ask and the agent replies in the channel with an answer from your knowledge. Growth+

The bot answers through a slash command only. It does not read ordinary messages, @-mentions or direct messages, so it never interrupts a conversation it was not asked into.

Before you start

  • The Growth plan or above.
  • A Discord server where you can add bots.
  • Content in your agent. See add your website.

Connect Discord

Open Channels & Apps, then the Channels tab, and click Connect on the Discord card.

  1. Create an application. In the Discord Developer Portal, create a new application and add a bot to it.
  2. Copy three values. From General Information, copy the Application ID and Public Key. From Bot, reset and copy the bot token.
  3. Paste them into AskVault. AskVault checks them and registers the /ask command for you.
  4. Set the Interactions Endpoint URL. AskVault shows an endpoint URL. Paste it into Interactions Endpoint URL on the application's General Information page in Discord and save. Discord checks the URL straight away.
  5. Invite the bot. Open the invite link AskVault shows and pick your server.
  6. Test it. In your server, type /ask and a question your content covers.

No privileged Gateway intents are needed, so you do not have to switch on the Message Content intent.

What members see

  • They type /ask followed by their question.
  • A short "thinking" state appears while the answer is prepared.
  • The answer is posted in the channel.

Limits

  • One command. /ask is the only command, and you cannot add your own.
  • No mentions or DMs. The bot responds only to /ask.
  • Text answers. No embeds or file attachments.
  • Each AI reply counts as 1 message against your plan's monthly allowance.
  • A Discord server connects to one AskVault agent.

Check it worked

Type /ask in a channel the bot can see. The command appears in Discord's menu, and the agent replies with a cited answer. The conversation appears in your Inbox.

If it doesn't work

Discord rejects the Interactions Endpoint URL. Check you pasted the Public Key from the same application into AskVault, then save the URL again.

/ask does not appear. The bot has not been invited to the server, or Discord has not refreshed its command list. Invite again with AskVault's link and reload Discord.

The agent says it cannot help. Your knowledge does not cover the question. Add the content, or check the answer in the test chat.