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

# Overview

> Use Clay from agents, terminals, backend services, internal tools, and custom apps.

Clay used to live primarily in the Clay UI. Now Clay also works where your agents, developers, and business systems already are.

Use the developer platform to search Clay's GTM data, run reusable Clay logic, and read table data programmatically.

## Start here

<Card title="Install the Clay plugin" href="/cli/quickstart">
  Best for Claude Code, Codex, Cursor, and agent-first work. The plugin uses both MCP and the Clay CLI.
</Card>

<Card title="Call the API directly" href="/public-api/quickstart">
  Best for backend jobs, internal tools, custom apps, queues, and product workflows.
</Card>

## Core primitives

| Primitive                      | Use it for                                                     |
| ------------------------------ | -------------------------------------------------------------- |
| [Searches](/searches)          | Find companies, people, and jobs from natural-language queries |
| [Routines](/routines)          | Run Clay-managed functions, custom functions, and Workflows    |
| [Tables (Enterprise)](/tables) | Query existing Clay table data from known tables               |

Most teams start with Searches and Routines: find the right records, then enrich them with a Clay-managed function.

## Choose the right primitive

* Need a target list? Use [Searches](/searches).
* Need enrichment, scoring, routing, or reusable logic? Use [Routines](/routines).
* Need existing table data? Use [Tables](/tables). Tables are Enterprise only.

## Start with a recipe

<Card title="Run a search, then enrich with a function" href="/recipes/search-and-enrich">
  Pull a target list from Clay data, then run Clay-managed functions on the results.
</Card>

<Card title="Give an agent access to a Clay function" href="/recipes/agent-function-access">
  Let an agent call Clay logic as part of its normal work.
</Card>

<Card title="Build a Workflow (Alpha)" href="/recipes/build-workflow-alpha">
  Create, edit, validate, run, and inspect a Workflow from the plugin or CLI.
</Card>
