Cursor | Glue Guide

What is the Cursor integration?

The Cursor integration lets you mention @Cursor in any thread to start a Cursor Cloud Agent without leaving Glue. The agent reads the thread for context, runs in the cloud, and reports back with its progress and results — right where your team is already talking about the work.

You can use Cursor in Glue to:

Setting up the Cursor integration

Step 1: Add the Cursor app to your workspace

Locate Cursor in the App Directory, and click "Add app" to add Cursor to your workspace. If you don't see it in your directory, check with your Admin.

Step 2: Set a default repository in Cursor

Cursor sessions in Glue run against the default repository configured in your Cursor Cloud Agents dashboard. Set this up before you start your first session.

Cursor uses your default repository each time a session is initialized in Glue. You can't switch repositories mid-session — if you need Cursor to work in a different repo, update the default in your Cursor dashboard before starting a new session.

Step 3: Create a Cursor User API Key

In the same dashboard from the prior step, find the "User API Keys" setting and click "Add" to create a new API key. Copy the generated token, you will need it in the next step.

Step 4: Authorize Cursor

Each user will need to connect their Cursor account once. You'll be prompted the first time you mention @Cursor in a thread.

Starting a Cursor session in a thread

Cursor works inside agent sessions — a back-and-forth side conversation with the agent that lives alongside your thread, similar to how Glue AI sessions work. You can iterate with Cursor and share results with your team when you're ready.

  1. Open any thread where you want Cursor to help.
  2. Type @Cursor in the message editor, followed by a prompt describing what you want it to do. For example: "@Cursor fix the timezone bug described above and open a PR."
  3. Click Send to start the session.

Cursor will read the thread for context, spin up a cloud agent against your default repository, and begin working. The session sidebar will open automatically so you can follow along.

Give Cursor as much context as possible in your prompt. The more specific the ask — the file, the bug, the expected behavior — the better the result. Cursor will also read the thread, so earlier messages can help set the scene.

Image attachments are not currently supported in Cursor sessions.

Going back and forth with Cursor

Once a session is running, you can keep the conversation going in the session sidebar, just like you would with a teammate.

Sharing Cursor's results with the thread

When Cursor finishes a piece of work — for example, opening a PR or producing a summary of what it changed — you can share the result with the thread so your team can see what happened.

If Cursor opens a PR in a connected GitHub repo, the PR link will unfurl into a GitHub link preview in the thread so the team can follow its status.

Tips for working with Cursor in Glue

Start Cursor sessions in threads where the work is already being discussed. Cursor uses the thread for context, so replying to an existing bug report or feature discussion gives the agent a running start.

Troubleshooting

Cursor isn't responding when I mention it

Cursor is working in the wrong repository

Cursor uses the default repository set in your Cursor Cloud Agents dashboard for every session. You can't switch repositories after a session has started.

Cursor didn't see the image I attached

Image attachments aren't currently supported in Cursor sessions. Describe the issue in text, paste relevant error messages or logs, or link to the code you want Cursor to look at instead.

How do I give feedback on the Cursor integration?

Cursor is in beta, so your feedback helps shape where it goes next. You can contact our support team by opening the Help icon next to your profile picture and clicking Contact Support.