Skip to content

Set up your agent

Connect your agent to Popost

View Markdown
# Connect your agent to Popost

Authorize in a desktop browser and verify the connection in the same agent.

## Authorize in your browser
For cloud tasks, ask the agent to run `popost auth login --no-wait`. Sign in to the intended Popost account in the desktop browser it opens. Enter the one-time device code and approve the connection. Return to the same agent to complete the request and verify it with `popost account`.

![Popost Agent connection in the account area](https://static.popost.ai/site/screens/connection-en-b1e8c1cb66d0.webp)

## Use an API Key when needed
The API Key page offers a connection command in step 2. Send that command to the agent if you choose this route. The one-time code expires after five minutes. Keep the long-lived Key in secure storage.
## Check the account
Reuse a working browser connection. If the account is wrong, check the environment, manage the corresponding connection on the website, and reverify it in your agent. Review any service charges for the specific task. [Plans and credits](/en/docs/plans-and-credits)

Authorize in a desktop browser and verify the connection in the same agent.

Authorize in your browser

For cloud tasks, ask the agent to run popost auth login --no-wait. Sign in to the intended Popost account in the desktop browser it opens. Enter the one-time device code and approve the connection. Return to the same agent to complete the request and verify it with popost account.

Popost Agent connection in the account area

Use an API Key when needed

The API Key page offers a connection command in step 2. Send that command to the agent if you choose this route. The one-time code expires after five minutes. Keep the long-lived Key in secure storage.

Check the account

Reuse a working browser connection. If the account is wrong, check the environment, manage the corresponding connection on the website, and reverify it in your agent. Review any service charges for the specific task. Plans and credits