@ngrok to a channel, and ask it about your endpoints, traffic, usage, team, and limits in plain language.
It replies in a thread, and everyone in the channel can read the answer.
The AI Chat Agent uses the same tools as the ngrok MCP server, but in Slack it only reads your account.
To make changes with an AI agent, use the MCP server.
Connect your Slack workspace
You need to be an admin of your ngrok account, and a Slack workspace admin or owner needs to approve the install in Slack. One ngrok account connects to one Slack workspace.Open the AI Chat Agent settings
Add ngrok to Slack
Confirm the connection
Ask @ngrok a question
Invite @ngrok to a channel
/invite @ngrok in any public or private channel.
The agent reads messages that mention it and the threads they’re in.
When a mention starts a new thread, the agent also reads up to five channel messages posted just before it, for context.Mention @ngrok with your question
Follow up in the thread
@ngrok again in the same thread to ask a follow-up.
The agent reads the thread for context, so “and how many of those were 500s?” works after a question about traffic.What you can ask
The agent can look up:- Endpoints, connected ngrok agents, and the requests and connections in Traffic Inspector.
- Gateway resources, such as domains, TCP addresses, IP policies, certificates, vaults, event subscriptions, and event destinations.
- Your account, team, credentials, usage, and limits.
- Your apps, environments, deployments, and rollouts, if your account uses ngrok Ship.
- The ngrok documentation.
@ngrok is there a pattern in the 404s hitting example.com?
@ngrok is there a pattern in the 404s hitting example.com?
@ngrok show me the 500s on my endpoints by hour for the last day
@ngrok show me the 500s on my endpoints by hour for the last day
@ngrok am I being rate limited? Why are my requests failing?
@ngrok am I being rate limited? Why are my requests failing?
@ngrok I got an ngrok error page with request ID 0a1b2c3d…. What happened?
@ngrok I got an ngrok error page with request ID 0a1b2c3d…. What happened?
ERR_NGROK code in the docs.
You get what failed, where it failed, and how to fix it.@ngrok which endpoints used the most data this month?
@ngrok which endpoints used the most data this month?
@ngrok which of my ngrok agents are out of date?
@ngrok which of my ngrok agents are out of date?
@ngrok write a Traffic Policy that rate limits /api to 100 requests per minute per IP
@ngrok write a Traffic Policy that rate limits /api to 100 requests per minute per IP
rate-limit action docs, writes the policy, and validates it.
You get a policy you can paste into your endpoint’s configuration.@ngrok why did the last deploy of my app fail?
@ngrok why did the last deploy of my app fail?
Workspaces with more than one ngrok account
When your Slack workspace is connected to several ngrok accounts that you’re a member of, the agent asks which account you mean the first time you mention it. Name the account in your message, and the agent uses it for you from then on until you name another one. A thread sticks to the account its first answer used, so start a new thread to ask about a different account. Each answer ends with the account it came from.How the agent uses your data
- The agent reads messages that mention
@ngrokand the thread they’re in. When a mention starts a new thread, it also reads up to five channel messages posted just before it, for context. It doesn’t read the rest of the channel. - It acts as the ngrok member whose email matches your Slack profile, with a short-lived credential minted for that member. It can’t see anything your role can’t see.
- It never returns secret values, authtokens, or API keys, only their names and metadata.
- It can’t change your account. Tools that create, update, or delete resources aren’t available in Slack.
Disconnect Slack
To stop the agent, go to Settings → AI Chat Agent and select Disconnect.@ngrok stops answering in that workspace.
The Slack integration stays on the Integrations page, so you can connect again later without approving ngrok in Slack a second time.
To remove ngrok from Slack entirely, a Slack admin can also remove the app from the workspace’s Manage apps page.
Troubleshooting
- The agent doesn’t respond: Check that
@ngrokis a member of the channel, and that you mentioned it rather than typing its name. Then check Settings → AI Chat Agent for a Needs attention badge. If Slack has rejected ngrok’s access, select Reconnect. - “Your chat email isn’t an active member of the connected ngrok account”: The email on your Slack profile doesn’t match any member of the ngrok account. Ask an account admin to invite that email from Team Members, or update your Slack profile to the email you use with ngrok.
- “I can’t see an email on your chat profile”: Your Slack profile has no email that ngrok can read. Add one, or ask your Slack admin to check the workspace’s email visibility settings.
- “The connected ngrok account’s plan doesn’t include the chat agent”: The account lost access, usually after a plan change. An account admin can upgrade from the AI Chat Agent page.
- “This thread is too long for me to follow”: The agent reads the whole thread on every mention and this one no longer fits. Start a new thread.
- An answer ends with “(truncated)”: Slack limits how long a reply can be. Ask a narrower question, or open the dashboard link in the reply for the full detail.
- “Only a Slack workspace admin or owner can connect ngrok to this workspace”: The person who approved the install in Slack isn’t a workspace admin. Ask an admin to select Add to Slack or Reconnect and approve the install.
- “This ngrok account is already connected to a Slack workspace”: Each ngrok account connects to one workspace. Disconnect the current workspace first.
Related resources
- ngrok MCP server: The same tools from your coding agent, with the ability to make changes.
- Traffic Inspector: The traffic data behind most questions.
- Role-based access control: What your role lets the agent see.
- Slack webhooks: Verify webhooks that Slack sends to your endpoints, which is a different integration.