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

# Attio

> Give agents access to CRM records, contacts, and deals in Attio.

The `@guildai-services/guildai~attio` package gives your agents access to CRM records, contacts, and deals in Attio through Guild's Attio integration.

## Authentication

* **Type:** API key

### Setup

<Steps>
  <Step title="Open Credentials">Go to **Credentials** in Guild.</Step>
  <Step title="Connect Attio">Click **Attio** and enter your Attio API key. Generate the key from Settings → API keys in your Attio workspace.</Step>
</Steps>

## Usage

```typescript theme={null}
import { attioTools } from "@guildai-services/guildai~attio"
import { llmAgent } from "@guildai/agents-sdk"

export default llmAgent({
  description: "An agent that reads and updates CRM records in Attio",
  tools: { ...attioTools },
})
```

### Selecting specific tools

Tools are named with the `attio_` prefix. Use `pick()` to include only what your agent needs.

```typescript theme={null}
import { attioTools } from "@guildai-services/guildai~attio"
import { llmAgent, pick } from "@guildai/agents-sdk"

export default llmAgent({
  description: "An agent that qualifies sales leads",
  tools: {
    ...pick(attioTools, [
      "attio_records_list",
      "attio_records_get",
      "attio_records_create",
      "attio_records_update",
    ]),
  },
})
```
