> ## 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.

# Figma

> Give agents authenticated access to the Figma REST API.

The `@guildai-services/guildai~figma` package provides agents with access to the Figma REST API through Guild's OAuth integration.

## Authentication

* **Type:** OAuth 2.0

### Setup

<Steps>
  <Step title="Open Credentials">Go to **Credentials** in Guild.</Step>
  <Step title="Connect Figma">Click **Figma** and authorize Guild to access your account.</Step>
</Steps>

## Usage

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

export default llmAgent({
  description: "An agent that works with Figma designs",
  tools: { ...figmaTools },
})
```
