# Fix with AI

Fix with AI tab gives you a **ready-made prompt for Claude Code or Cursor** with all necessary context to identify and fix an error. This helps you understand the root cause of an error faster and suggests potential solutions.

1. Navigate to [Errors](https://errors.betterstack.com/team/0/errors/ ";_blank").
2. Click on any error group to open its detailed view.
3. Select the Fix with AI tab.

![Fix with AI](https://imagedelivery.net/xZXo0QFi-1_4Zimer-T0XQ/6eb9c0a7-bbf3-48f2-f0cc-ef3cf9f58800/lg2x =4160x2474)

Copy and use ready-made prompts in your IDE with tools like Claude, Codex or Cursor for further debugging.

![AI explanation](https://imagedelivery.net/xZXo0QFi-1_4Zimer-T0XQ/330a64a5-403c-4d2c-f38b-28735e300b00/orig =1582x2052)

## Customizing your prompt

Customize the prompt and **tailor the AI's instructions** to better suit your specific debugging workflow and the needs of your team. Each application can have fine-tuned prompts, ready to be used when a new error occurs.

Go to **Errors** -> [Applications](https://errors.betterstack.com/team/t0/applications/ ";_blank") -> Your application -> **Advanced settings** tab to customize the prompt template.

You'll find a **Variables sidebar** next to the prompt editor listing all available placeholders. Include these placeholders in your prompt template, and we'll fill it in from the actual error.

![Customizing your prompt](https://imagedelivery.net/xZXo0QFi-1_4Zimer-T0XQ/30632cd8-e958-40f0-5801-1805e7794200/lg2x =3386x2510)
