> ## 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, read table data, and work with Audiences programmatically.

## Start here

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

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

## Core primitives

| Primitive | Use it for |
| - | - |
| [Searches](/searches) | Find companies and people using Clay's GTM database |
| [Routines](/routines) | Run Clay-managed functions, custom functions, and Workflows |
| [Tables (Enterprise)](/tables) | Query existing Clay table data from known tables |
| [Audiences](/audiences) | Work with records, saved segments, activities, and signal events |
| [Signals](/signals) | Create triggers that detect relevant changes across records |

Start with the primitive that matches where your data lives and what you want to do.

## 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.
* Need Audiences records, saved segments, activities, or signal events? Use [Audiences](/audiences).
* Need triggers that watch records and produce signal events? Use [Signals](/signals).

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

<Card title="Analyze recent closed-won deals" href="/use-cases/analyze-recent-closed-won-deals">
  Use an agent to find patterns in recent successful deals.
</Card>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.