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

# Coda

> Read and manage Coda docs, pages, and content

## At a glance

* **Availability**: Experimental ([how to enable](/cloud/integrations)).
* **Auth**: API key.
* **Connection**: The key comes from `CODA_API_TOKEN`.
* **Docs**: [https://coda.io/developers/apis/v1](https://coda.io/developers/apis/v1)

## Credentials

Set these per environment. See [Connect an integration](/cloud/integrations).

| Variable         | Required | Description                                                                                                          |
| ---------------- | -------- | -------------------------------------------------------------------------------------------------------------------- |
| `CODA_API_TOKEN` | Yes      | Coda API token (generated under Account Settings) [Docs](https://coda.io/developers/apis/v1#section/Authentication). |

## Setup

1. **Sign in to Coda**: Go to [https://coda.io](https://coda.io) and sign in. A free account is sufficient for testing - create a throwaway doc to experiment with.
2. **Generate an API token**: Open Account Settings ([https://coda.io/account](https://coda.io/account)), scroll to the API settings section, and click 'Generate API token'. You can optionally restrict the token to specific docs or read-only access.
3. **Set the environment variable**: Add the token to your .env as CODA\_API\_TOKEN=...
4. **Verify access**: Run the List Docs tool to confirm the token works.

* Coda authenticates with 'Authorization: Bearer \<token>'
* Doc IDs are the part after /d/ in a doc's URL (strip any name prefix before the underscore)
* Restricted tokens only see the docs they were granted

Provider API reference: [https://coda.io/developers/apis/v1](https://coda.io/developers/apis/v1)

## Tools

| Tool        | Access | Description                                               |
| ----------- | ------ | --------------------------------------------------------- |
| List Docs   | Read   | List Coda docs accessible to the token                    |
| Get Doc     | Read   | Get metadata for a Coda doc                               |
| Create Doc  | Write  | Create a new Coda doc, optionally copying an existing doc |
| List Pages  | Read   | List pages in a Coda doc                                  |
| Get Page    | Read   | Get metadata for a page in a Coda doc                     |
| Update Page | Write  | Update a page's name, subtitle, or content in a Coda doc  |

## Example prompts

* Search my Coda docs for a doc about a topic and show its pages.
* Append a markdown summary of this conversation to a page in one of my Coda docs.
