# JFrog

> Source: https://truto.one/docs/integration-guides/jfrog/

JFrog connects with an access token and the URL of your JFrog Platform instance.

## Install the JFrog integration

Install JFrog from [Available integrations](https://app.truto.one/integrations/available/f2a02ae6-c07c-46b4-a221-a828256fcc07) in each environment you connect accounts from.

## Generate an access token

1. Sign in to JFrog and go to **Platform Configurations** → **User Management** → **Access Tokens**.
   ![Platform configurations](https://docs-assets.truto.one/jfrog-details-1.png)
   ![User management](https://docs-assets.truto.one/jfrog-details-2.png)
   ![Access tokens](https://docs-assets.truto.one/jfrog-details-3.png)
2. Click **Generate Token**.
   ![Generate token](https://docs-assets.truto.one/jfrog-details-4.png)
3. Fill in the details and click **Generate**.
   ![Token details](https://docs-assets.truto.one/jfrog-details-5.png)
4. Copy the token.

For JFrog Cloud, the **Base URL** is the address of your instance in the browser, for example `https://acme.jfrog.io`.

![Base URL](https://docs-assets.truto.one/jfrog-details-6.png)

## Connect a JFrog account

1. In [Integrated Accounts](https://app.truto.one/integrated-accounts), click **Connect Account**.
   ![Click Connect Account](https://docs-assets.truto.one/truto-connect-account.png)
2. Enter a **Tenant ID** (your customer's ID; Truto creates the tenant if it is new), or pick one under **Existing tenant (optional)**. Check the **Environment** and the **Region** (where Truto places the account; Western North America by default). To open the link straight on JFrog, pick it under **Advanced settings** → **Integration (optional)**. Click **Get connection link**.
   ![Get connection link](https://docs-assets.truto.one/truto-connect-account-modal.png)
3. Click the open-in-new-tab button, or click **Copy** and send the link to your customer so they connect their own JFrog account. The link works for 7 days, until an account is connected with it.
   ![Share connection link](https://docs-assets.truto.one/truto-connect-account-link.png)
4. Click **Get Started** if it shows, then select **JFrog**.
5. Fill in the form and click **Connect**:

   | Field | Required | What to enter |
   |---|---|---|
   | **API Key** | Yes | Your JFrog access token. |
   | **Base URL** | Yes | The URL of your JFrog Platform instance, for example `https://acme.jfrog.io`. For a self-hosted installation, use `http://<JFROG_PLATFORM_URL>:<ROUTER_PORT>`. |
6. Close the tab when you see **Connection successful**. The new account appears under **Integrated Accounts**. Click its Account ID to see its details and make API calls.
