Cursor Origin

Coolify can deploy a private Cursor Origin repository over SSH. Store the private key in Coolify, add the matching SSH key to Origin, and then create the application with the deploy-key source.

Add a deploy key to Coolify

  1. Open Keys & Tokens in the Coolify dashboard.
  2. Select Private Keys, then New private key.
  3. Choose Generate ED25519 or Generate RSA to generate and save a key immediately. To use an existing key, choose Add manually, paste the complete private key, and select Continue.
  4. Open the saved key's edit icon to inspect its public key or change its name. Select Save changes after editing.

Keep the key available while configuring Origin. Origin must use the same key that you stored in Coolify.

Add the key to Origin

From the repository directory, run:

origin ssh-key add

Follow the Origin CLI prompts and add the SSH key that corresponds to the private key saved in Coolify.

Create the application in Coolify

  1. Open your project in Coolify and select + New.
  2. Select Private Repository (with deploy key).
  3. Choose the server that will run the application.
  4. Select the private key that you saved in the first step.
  5. Enter the repository's SSH clone URL and continue.
  6. Configure the application, then deploy it.
Use the SSH repository URL

The deploy key authenticates an SSH connection. An HTTPS repository URL will not use it.

For more information about this source type, see Deploy keys. For build and application settings, see Applications.

On this page