Skip to main content
In this quickstart you connect one knowledge source, create an agent that answers from it, and ask it a question. For prompts, tools, testing and monitoring, continue with Build Your First Agent afterwards.

Prerequisites

  • An AGO workspace and a staff administrator account with access to Agents and Knowledge
  • Access to the content you want to connect, for example a Notion workspace or a Confluence space, with an API token if the connector needs one
1

Connect a knowledge source

Knowledge Sources page showing connected sources with their content types, sync status, and actions

Knowledge Sources

  1. In the admin sidebar, click Knowledge, then Sources.
  2. Click Create New Source.
  3. Enter a Source Name and choose the Source Type, for example Notion or Confluence.
  4. Fill in the authentication and configuration fields for that source type, then click Save.
  5. Back on the Sources list, open the source’s actions menu and select Sync Source.
Wait until the source’s sync status turns green. You can follow the import in Knowledge > Sources > View Sync History.
Start with a small set of documents so the first sync finishes quickly. You can add more content later.
See Knowledge Connectors for the settings each source type needs.
2

Create an agent

  1. In the admin sidebar, select Agents. The agent list opens.
  2. Click Create Agent.
  3. On the General tab, enter the agent name in Agent (for example support-agent) and a Display Name users will see (for example Support Assistant).
  4. Under Instructions, choose a Template or create a new prompt describing what the agent should do.
  5. On the Context tab, select the source you connected under Available Knowledge Sources.
  6. Click Save.
3

Choose who can use the agent

  1. Open the agent’s Permissions tab.
  2. Under Agent Visibility, use Permissions to select the user groups that should see this agent.
  3. Click Save.
Only turn on Make this agent public if anyone, including visitors who are not signed in, should be able to use it.
4

Test the agent

  1. On the agent’s page, click Test agent to open a conversation beside the editor.
  2. Ask a question your knowledge source answers.
  3. Under the answer, open Documents used to check which documents the agent relied on.
If the agent doesn’t find the right documents, try the same question in Knowledge > Advanced > Search Lab to see which documents the search returns.
5

Put the agent in front of users

Choose where users talk to the agent:

Widget

Embed the chat widget on your website

Slack

Answer questions in Slack

API

Send messages from your own systems

SDK

Build your own chat interface with the JavaScript SDK

Next steps

Continue with Build Your First Agent to write better instructions, add tools, run simulation tests and monitor conversations.
Before you open the agent to customers, set up authentication and review your access control rules so each user sees only the agents meant for them.