> ## Documentation Index
> Fetch the complete documentation index at: https://docs.enkryptify.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Coolify

<AccordionGroup>
  <Accordion title="Prerequisites" icon="list-check">
    * An Enkryptify workspace with admin access
    * A running Coolify instance that Enkryptify can reach over the network
    * At least one application or service in Coolify
    * A Coolify API token with read and write permissions
  </Accordion>

  <Accordion title="Permissions" icon="scroll-text">
    Enkryptify connects to your Coolify instance with the API token you provide during setup. The token is encrypted and reused when you create additional Coolify syncs.

    * The token must allow Enkryptify to:
      * List the applications and services available to your team
      * Create and update environment variables on the selected resource
      * Delete environment variables from the selected resource when they are removed from Enkryptify

    > Coolify API tokens are scoped to a team. Use a token created in the team that owns the applications or services you want to sync.
  </Accordion>
</AccordionGroup>

<Note>
  Coolify applies new environment variable values on the next deployment. After
  a sync runs, redeploy the application or service in Coolify to pick up the
  updated secrets.
</Note>

## Steps to complete

<Steps>
  <Step title="Create a new sync">
    * Go to the `Syncs` tab of your project and click on `Coolify`.
  </Step>

  <Step title="Create a Coolify API token">
    * Open your Coolify dashboard. - Go to `Keys & Tokens` and then `API
          tokens`. - Create a token with `read` and `write` permissions. - Copy the
      token before leaving the page, it is shown only once.
  </Step>

  <Step title="Connect to your instance">
    * Enter your Coolify instance URL (for example
      `https://coolify.example.com`). - Paste the Coolify API token. - Continue to
      validate the connection.
  </Step>

  <Step title="Select your application or service">
    * Choose the Coolify application or service that should receive your
      secrets. - Applications and services are listed together and labeled so you
      can confirm the correct target.
  </Step>

  <Step title="Link an Enkryptify environment">
    * Choose the Enkryptify environment to sync from. - Secret names and values
      from this environment will be written to the selected resource's environment
      variables.
  </Step>
</Steps>
