diff --git a/ai/agent.mdx b/ai/agent.mdx index 770aaea85..8831970a3 100644 --- a/ai/agent.mdx +++ b/ai/agent.mdx @@ -18,6 +18,16 @@ Use the agent to: To get started, add the agent to your Slack workspace and mention it with `@mintlify` in a channel. +## Specify a subdomain + +If you have multiple documentation sites (such as public docs and customer docs), you can specify which subdomain the agent should work with by including the `subdomain` parameter in your message: + +- `@mintlify subdomain=public-docs` - Work with your public documentation +- `@mintlify subdomain=customer-docs` - Work with your customer documentation +- `@mintlify subdomain=mintlify` - Work with a specific custom subdomain + +This ensures the agent makes changes to the correct documentation site when you have multiple subdomains configured. + ## Add the agent to your Slack workspace