The agent must be Enabled to answer on any channel. See Triggers.
Slack, Microsoft Teams and Discord
Each agent gets its own bot on each chat platform — its own name, its own @mention — using a chat app you create in your Slack workspace, Microsoft tenant or Discord server. An agent has at most one chat app per platform, so the Channels tab always shows one row for each.Connect a chat app
1
Start the setup
On the agent’s Channels tab, click the Not connected row for Slack, Microsoft Teams or Discord. Enter the bot’s display name and a description, and click Create.
2
1 · Create the app on the platform
- Slack: click Generate manifest, then create the app at api.slack.com/apps with From a manifest using the generated
manifest.yaml, and install it to your workspace. - Microsoft Teams: click Generate registration. Register an Azure Bot with the generated Messaging endpoint, then upload the app package (
manifest.json) through Teams Admin Center. - Discord: click Show setup steps and create the application by hand at discord.com/developers/applications. Messages arrive over an outbound Gateway connection, so no public URL is needed.
3
2 · Paste the credentials
Copy the app’s credentials into the form and click Save credentials. They are stored write-only; leave a field blank to keep the stored value.
4
3 · Approve users
Under User access, map platform users to DataGen accounts. Users who message the bot before they are mapped appear under Pending requests for approval. Mapping never bypasses workspace membership. Discord bots cannot read email addresses, so Discord users are always mapped by hand.
5
4 · Pick operating channels (Teams and Discord)
Under Operating channels, choose the channels the bot may post into. These become the destinations an automation can post its results to.
Automations post results to Teams and Discord operating channels and to web chat. To have a scheduled run post to Slack, give the agent a Slack MCP tool and ask for it in the automation’s prompt. See Tools.
@agents.datagen.dev, based on the agent’s name. Email it to run the agent; the agent replies on the same thread, and replying again continues the conversation. Mail from workspace members runs the agent; mail from other senders is rejected.
To add another address, click New Channel, choose Email address, and leave the target blank to auto-generate a unique address (or enter one under @agents.datagen.dev).
Linear
Click New Channel, choose Linear project, and enter the Linear project key (for exampleENG). Under Credential reference, enter the name of the Linear credential in the agent’s vault that the agent’s tools use to authenticate.
Channels created with New Channel have an Active switch. When it is off, tools cannot use that target and incoming messages are ignored. A channel’s kind and target cannot be changed; delete it and create a new one instead.
Web chat
Workspace members can chat with an enabled agent from Chat in the sidebar. Automations can also post into web chat: each run opens a new private conversation in your Chat list, titled after the automation.Public chat links
A public chat link lets anyone chat with the agent without signing in — for example a support bot on your website or an HR assistant for new hires.1
Create the link
On the agent’s Overview tab, find Public chat links and click New link.
2
Fill in the details
3
Share it
Click Create link, then Copy link. The URL looks like
https://<your-datagen-app>/c/<token>?lang=en; the lang parameter opens the chat in the language you were using when you copied it.- Pause and Resume turn a link off and on.
- Edit changes the label, display name, greeting, limits and expiry.
- Revoke stops the URL immediately and cuts off anyone chatting. Recorded conversations are kept. It cannot be undone; create a new link instead.
Workspace notifications
Workspace Settings → Channels turns channels on for the whole workspace: built-in Email notifications for agent runs and updates, and a connected Slack workspace with the Slack channels it can use.Next
Versions and Logs
Roll back a version and inspect every run and conversation
Templates
Start from a pre-built agent