> ## Documentation Index
> Fetch the complete documentation index at: https://kavenio.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Agent quickstart

Set up Kavenio for a coding agent, then let the agent add the SDK code to your
app.

Give this page to Codex, Claude Code, Cursor, or your own coding agent, or run
the setup yourself.

<div className="quickstart-compact-callout">
  <Callout color="#22C55E">
    Setting up Kavenio yourself? [Human quickstart](/docs/)
  </Callout>
</div>

## Recommended setup

Install the Kavenio CLI.

<CodeGroup>
  ```bash npm theme={null}
  npm install -g @kavenio/cli
  ```

  ```bash yarn theme={null}
  yarn global add @kavenio/cli
  ```

  ```bash pnpm theme={null}
  pnpm add -g @kavenio/cli
  ```

  ```bash bun theme={null}
  bun add -g @kavenio/cli
  ```
</CodeGroup>

Set the API key in the environment where the agent runs.

```bash theme={null}
export KAVENIO_API_KEY="kv_live_..."
```

Keep API keys in environment variables. Do not hardcode credentials in prompts,
scripts, or repository files.

Then prompt your agent:

```text theme={null}
Follow https://kavenio.com/docs/quickstart-agents.

Set up Kavenio in this project so users can connect a LinkedIn account and
publish or schedule posts from the app.

Use the Kavenio CLI for setup checks and the Node SDK for application
code. Read KAVENIO_API_KEY from the environment. Do not hardcode credentials.

Create or reuse a profile, start the hosted connect flow, store the accountId
from the return URL, and use that accountId when publishing to a specific
account. To publish to every connected LinkedIn account in the profile, omit
accountId.
```

Ask the agent to verify the setup with:

```bash theme={null}
kavenio health
```

## Go deeper

<CardGroup cols={2}>
  <Card title="CLI" icon="terminal" href="/docs/cli/overview">
    Use the CLI for setup checks and agent workflows.
  </Card>

  <Card title="Node SDK" icon="js" href="/docs/sdk/node">
    Use the SDK in application code.
  </Card>

  <Card title="API" icon="brackets-curly" href="/docs/api/overview">
    Review the underlying API objects.
  </Card>

  <Card title="Webhooks" icon="webhook" href="/docs/api/webhooks">
    Receive connection and post events server-to-server.
  </Card>
</CardGroup>
