Other Integrations

Use Descope with Cursor

Cursor, the AI code editor, makes it easy to write and maintain apps built with Descope authentication. This guide explains how to setup Cursor for the best possible results with Descope.

Add Descope Docs to Cursor

Integrating Descope documentation into Cursor provides quick and easy access to essential resources directly within the code editor. This integration minimizes context switching, enhances productivity, and ensures developers have the most accurate and up-to-date information at their fingertips.

To set up Descope documentation in Cursor, follow these steps:

  1. Go to the settings section of Cursor.
  2. Under Features, find Docs
  3. Choose + Add new doc, enter the URL https://docs.descope.com/, name the doc Descope Docs, and click Confirm.

Descope Docs Cursor Setup

Add Descope SDKs to Cursor

We recommend also adding the corresponding Github repository for any Descope SDKs you are using in your application. Repeat the steps in the Add Descope Docs section above, this time with the URL pointing to the relevant SDK. Name the doc Descope <chosen-SDK> SDK. The link to each SDK can be found on our Github page.

Reference Descope

Now, you can reference the Descope documentation and SDKs in your prompt with the @Descope Docs and @Descope <chosen-SDK> SDK symbols. For example, I could ask Cursor to use the Descope Docs and Next.js SDK to build a Next.js Application with Descope Authentication.

Descope Cursor Next.js App

By following these steps, you can seamlessly integrate Descope documentation into your Cursor editor, making it easier to reference and implement Descope's authentication solutions in your projects.

Was this helpful?

On this page