# JFrog Integration

1. Go to JFrog and create a new remote repository:
   * Select the repository type **Generic**.
   * Set the Repository Key as `seal-cli`.
   * Set the URL as `https://cli.sealsecurity.io/authenticated/jfrog`.
   * Set the User Name as `jfrog`.
   * Set the Password / Access Token as the token to the Seal artifact server. See [here](/fundamentals/artifact-server/generating-a-token.md) about how to create a new token.
   * Turn on Propagate Query Parameters.
   * Turn on Disable URL Normalization.
   * Turn off Store Artifacts Locally.
2. Go to JFrog and create an additional remote repository according to the ecosystem-specific [instructions](/fundamentals/artifact-server/configuring-the-package-manager.md).
3. Generate a new JFrog access token:
   * Set Token scope as "User".
   * Set User name to be your user.
   * Set Expiration time to "Never".
   * Turn on Create Reference Token.
   * Click **Generate** and save the reference token for the next steps.
4. Configure the CLI:
   * Similar to the instructions [here](/fundamentals/cli/fixing-all-dependencies.md), we need to configure the authentication with JFrog. We can either use environment variables or the `.seal-config.yml`.
   * Using environment variables:
   * ```bash
     export SEAL_JFROG_AUTH_TOKEN=<token> # the reference token created in the previous step
     export SEAL_JFROG_INSTANCE_HOST=<domain> # for example: domain.jfrog.io
     export SEAL_JFROG_ENABLED=1
     export SEAL_PROJECT=<project-id> # the ID of the current project
     ```
   * Using the .seal-config.yml:
   * <pre class="language-yaml"><code class="lang-yaml"><strong>jfrog:
     </strong><strong>  host: &#x3C;doman> # for example: domain.jfrog.io
     </strong><strong>  token: &#x3C;token> # the reference token created in the previous step
     </strong><strong>  enabled: true
     </strong>project: &#x3C;project-id> # the ID of the current project
     </code></pre>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sealsecurity.io/fundamentals/cli/jfrog-integration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
