---
title: Set up with an AI agent
description: A prompt to paste into Claude Code, Codex, Cursor or OpenCode that sets up UserCheck in your project, on any plan.
---

An AI coding agent can set up UserCheck in your project for you. Copy the setup prompt, then paste it into Claude Code, Codex, Cursor or OpenCode, opened in your project's folder.

```agent-prompt
Fetch and follow the instructions at https://www.usercheck.com/agent-setup/prompt.md to set up UserCheck in this project.
```

## What the agent does

1. Checks your API key and plan.
2. Asks what you want to set up. Each question has a default, and nothing changes until you answer.
3. Builds what you chose with what your plan includes.

## Before you start

- You need a UserCheck account. [Create one](https://app.usercheck.com/register) for free, without a credit card.
- Your API key, from the [API Keys](https://app.usercheck.com/api-keys) page, belongs in the `USERCHECK_API_KEY` environment variable on your server. If it isn't set, the agent tells you where to add it. Don't paste the key into the conversation.

Not using a coding agent? Follow the [Quickstart](/docs/get-started/quickstart), or the [Gates quickstart](/docs/gates/quickstart) on a paid plan.
