Skip to main content

Example agent tasks

Connecting

Connect CircleCI REST API v2 with an API key.
1

Add the connection

Generate an API key from your CircleCI REST API v2 account settings.
2

Authorize

Copy the key. It is only shown once.
3

The agent gets to work

Paste it when prompted in the agent’s connection card for CircleCI REST API v2.

What you share

Connecting grants the agent access to CircleCI REST API v2 on your behalf. As with every connection, credentials are handled by the secure proxy and never exposed to the model.

How credentials stay safe

The proxy model that keeps tokens out of the model’s reach.