Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
---
title: "Convex connection"
sidebarTitle: "Convex"
description: "Learn how to configure a Convex Connection for Infisical."
---
Infisical supports the use of [personal access tokens](https://docs.convex.dev/dashboard/personal-access-tokens) to connect with your Convex account.
## Create a personal access token in Convex
<Steps>
<Step title="Navigate to Profile Settings">
Log in to the [Convex Dashboard](https://dashboard.convex.dev), select your profile avatar in the top right, and select **Profile Settings**.

</Step>
<Step title="Create a Personal Access Token">
Scroll down to the **Personal Access Tokens** section and click the **+ Create Token** button.

</Step>
<Step title="Configure the Token">
Enter a **Token Name** (e.g. `infisical`) and select an **Expiration** period, then click **Create**.
<Warning>
If the personal access token expires, any secret rotations relying on this connection will fail. We recommend setting a long expiration or selecting **No expiration** to avoid disruptions.
</Warning>

</Step>
<Step title="Copy the Token">
Copy the generated token and store it securely. You will not be able to see it again. You will need it to configure the Convex connection in Infisical.

</Step>
</Steps>
## Setup Convex connection in Infisical
<Steps>
<Step title="Navigate to App Connections">
Navigate to the **App Connections** tab in your organization and select **+ Add Connection**.

</Step>
<Step title="Create the Connection">
Select the **Convex** option, fill in the connection **Name**, select the **Personal Access Token** method, paste the **Access Token** you copied earlier, and click **Connect to Convex**.
Optionally, you can provide an **Instance URL** if you are self-hosting Convex. If left empty, `https://api.convex.dev` is used by default.

</Step>
<Step title="Connection Created">
Your **Convex Connection** is now available for use.

</Step>
</Steps>