Private application
Install Link set to None and Public Bot turned off control who can install the bot in another server.
InstallationThis walkthrough starts with a new Discord application and ends with a real message to your bot. It uses my-trainer as the example name.
Steps 1 to 5
You will create a Discord application, turn on the two settings the agent needs, and copy its token.
In the Discord Developer Portal, select New Application. Name it for your agent, such as my-trainer, then select Create.
If you already made an application for this agent, open that one instead.
Select Bot in the left sidebar. A new application normally has a bot account already. If Discord shows Add Bot or Create Bot, select it.
On the Bot page, scroll to Privileged Gateway Intents. Turn on Server Members Intent and Message Content Intent, then select Save Changes.
Server Members Intent lets Agent Control load the people you can choose as the owner. Message Content Intent lets the bot receive an ordinary message without requiring an @mention.
Do this in order. Select Installation in the sidebar. Under Install Link, choose None and save. Return to Bot, turn off Public Bot, and save again.
This limits installation to the application owner. It does not make a Discord channel private and it does not decide who the agent answers.
Return to Installation, set Install Link to None, save, then try turning off Public Bot again. Verified Discord applications must remain public.
Still on the Bot page, find Token and select Reset Token. Complete Discord's password or two-factor check, then select Copy.
You need the bot token, not the Application ID, Public Key, or Client Secret. Discord shows the token once. If you lose it, reset it and use the new one.
If someone else sees it, reset it in Discord before you continue.
Steps 6 to 10
Connect Discord checks the bot token. Add my-trainer to a server performs the separate server install.
Return to Agent Control. Paste the token into Discord bot token, then select Connect Discord.
The button changes to Connecting... while Agent Control checks the token and restarts your agent. This can take about 30 seconds. When it works, you will see Discord bot connected and the bot's name.
The token field clears after the check so the secret is not left on screen. You do not need to paste it again after you see the success message.
Select Add my-trainer to a server. This is the step that installs the bot in Discord. If you made the application private, use this button while signed in as the Discord account that created it.
On Discord's approval screen:
If the server is missing, check that you are signed into the right Discord account and that you have Manage Server permission there.
In your Discord server, select Create Channel. Choose Text, name it my-trainer, turn on Private Channel, and create it. When Discord asks who can see the channel, add yourself and the bot.
If you already created the channel, open it and choose Edit Channel > Permissions. For @everyone, deny View Channel. Add yourself and the bot as members. For the bot, allow View Channel, Send Messages, and Read Message History, then save.
Return to the Agent Control tab and select Check access again. Select your server under Installed servers, then choose #my-trainer as the Home channel.
Check the Home channel yourself. Selecting a server may preselect its first available text channel.
Steps 11 and 12
For a personal trainer, start with one person and one private channel. You can loosen that later.
Choose Just me. Under Who owns this agent?, choose your Discord account. Under Named people, keep only yourself selected. Under Where else can it answer?, choose Home only.
Select Review changes. Read the summary, then select Apply and restart my-trainer. There is no separate launch button. The restart is part of applying the settings.
Use all three for a personal trainer. Each one protects a different part of the setup.
Install Link set to None and Public Bot turned off control who can install the bot in another server.
InstallationDiscord channel permissions control who can read the conversation.
ConversationAgent Control decides who may wake the agent and where it may answer.
RepliesStep 13
A reply in Discord is the final check.
When Agent Control says The settings are saved. Now test the real behavior., select Open the home channel. Send:
Do not tag the bot. If your trainer replies, the setup is complete.
What success looks like
If it replies, the whole path is working: Discord can deliver the message and your trainer can answer in the channel you chose.
If something gets stuck
Resetting everything usually creates more work. Check the matching setting first.
On Installation, set Install Link to None and save. Then return to Bot, turn off Public Bot, and save again.
DiscordReset it on Discord's Bot page and copy the new bot token without spaces. Never send the token through the AgentMarkit contact form.
TokenConfirm the bot was authorized in the correct server, then return to Agent Control and select Check access again. Also check Manage Server permission.
ServerTurn on Server Members Intent in Discord, save, then use Check access again.
PeopleCheck Message Content Intent and the channel permissions: View Channel, Send Messages, and Read Message History. Apply the settings again, then retry the message.
ChannelDiscord references
Discord may move a label or setting. These are the official pages behind this walkthrough.