App connection
Your support agent can check your GitHub issues to tell a customer whether their bug is fixed. Connect the company's account once as an app connection, and every conversation uses it.
With the CLI
Connect with a token
If you don't have an agent named support yet, create one with getstream agents init support --template blank. An agent from the text template answers only about its own company, so this page starts from the blank template. For more about agents, see Creating an agent.
Instead of the browser consent in the quickstart, pass a personal access token on stdin. If you did the quickstart, it already made the label acme. Remove that connection first:
getstream agents connectors unbind support github
getstream agents connections delete acmeThen create it again with the token:
echo "$GITHUB_TOKEN" | getstream agents connections create github --label acme --agent support -H Authorization=-The CLI checks the token with GitHub. If GitHub refuses it, the CLI saves nothing and tells you so.
Test it
Nobody is asked to sign in, so a test in the terminal uses it too:
getstream agents test support --textAsk: "What are the open issues in GetStream/awesome-ai-news?" to see the agent read GitHub as the company.
A shop with no sign-in
Shopify needs the shop's myshopify.com address and no sign-in, so the connection is connected as soon as you create it:
getstream agents connections create shopify --label mystore --input shop=mystore.myshopify.comThen add it to the agent and test it:
getstream agents connectors bind support shopify --connection mystore
getstream agents test support --textAsk: "Do you ship to Canada?" to see the agent search the shop's policies.
Delete it
getstream agents connections delete acmeThe CLI refuses while an agent names the connection under connection. Unbind it from the agent first:
getstream agents connectors unbind support github--force deletes the connection anyway, and leaves the agent naming a connection that no longer exists.
Going further
Let each user connect their own account, from the dashboard or your own app.
See a connection's tools and offer only the ones the agent needs.
Any MCP server: a public one, or one behind a key.
Turn an API's endpoints into tools with a file.
What a connector is, a quickstart, and which connection it uses.
Errors you may see, why, and what to do.