Cursor logo

Developer workflow

Cursor developers and product engineers

Add an AI customer-support assistant to Cursor

Give Cursor the Chirps embed snippet and ask it to place the script in the correct global layout, then review the diff before accepting it.

10–15 min

Typical first install

Preview first

Review before publishing

Installation path

Reviewable code change

Agent-assisted placement in an existing codebase

Reviewable, reversible edits

Works with static HTML, React, and Next.js entry points

Step-by-step

Install Chirps on Cursor

Follow the path that matches your project. Keep the generated snippet private to your workspace and verify the result on a preview URL.

1

Copy your Chirps AI snippet

Log into the Chirps AI dashboard and copy the single-line JavaScript embed code from the Installation tab.

2

Open Cursor Composer

In the Cursor IDE, press Cmd+I (Ctrl+I) to open the Composer panel, or use Cmd+K for inline chat.

3

Prompt the AI

Type: "Inject this script tag into my global layout file to add my customer support assistant: [paste snippet here]"

4

Accept changes

Cursor will automatically find the correct layout.tsx or index.html file and cleanly insert the Chirps widget. Hit Accept and you're done!

Keep the installation maintainable

The embed only mounts the widget. Your content, privacy settings, bookings, leads, and handoff rules stay editable in Chirps, so a content change does not require another deployment.

Questions

Cursor integration FAQ

How do I add Chirps AI to Cursor?

Create or select an assistant in Chirps, train it on the public pages or files you choose, copy the generated installation snippet, and place it in the global layout or code-injection area for Cursor. Test the preview before publishing.

What can the Cursor assistant help with?

It can answer questions grounded in your approved knowledge, collect enquiries, offer booking or lead forms when those artifacts are enabled, and hand conversations to your configured human-support channel.

Can I change the assistant after installation?

Yes. Widget appearance, knowledge, instructions, language, and enabled artifacts are managed in Chirps. You normally do not need to edit the site code again unless you move the widget to a different layout.