# JFrog Artifactory

1. On an account with admin permissions, ensure you have "All Projects" selected, then go to **Administration**

   <figure><img src="/files/OBx35jfW43JHJttdlEto" alt=""><figcaption></figcaption></figure>
2. Go to User Management > Users\
   ![](/files/nVa4Z6Z0Hep2FggcyTWV)
3. Click **+ New User**\
   ![](/files/88WhnN2FWqWJzuTgNLNn)
4. Create a user with Read Only permissions (if needed create a group with Read Only permissions, e.g. `readers`).\
   For email use an email alias that is not tied to a specific user for business continuity purposes.

   <figure><img src="/files/6VKAEI7Fdi6kdqLpDzeM" alt=""><figcaption></figcaption></figure>

   <figure><img src="/files/ov5DVzJO6VvRQtwcuEVS" alt=""><figcaption></figcaption></figure>
5. Go to User Management > Access Tokens\
   ![](/files/okkmdp4pGd91u5L3et6w)
6. Click Generate Token\
   ![](/files/zfPRYafnDZK5tJSS0rgy)
7. Create a Token\
   \
   ![](/files/IELcFZwolwV4f3WaAQdB)
   1. Description: eg. "Arnica access token for container scanning"
   2. Token Scope: User.
   3. User name: The user created in the previous step
   4. Service: Artifactory or All
   5. Create Reference Token: checked (not mandatory, but recommended, see [JFrog's documentation for details](https://jfrog.com/help/r/platform-api-key-deprecation-and-the-new-reference-tokens/what-is-a-reference-token))
8. Record token details\
   ![](/files/7bLaHtp2FCEPETOB1Xj7)
9. In Arnica, next to JFrog Artifactory, click Connect\
   ![](/files/HvMYlE3PfMVxRxt8MinK)
10. Enter the details you recorded previously
    1. **Alias:** If you want, you can set a name for this integration.
    2. **Base Url:** The URL used to access your JFrog Container Registry instance, eg. `jfrog.example.com` or for JFrog cloud, `yoursubdomain.jfrog.io` (you can enter it with or without the protocol, e.g. `https://`, and with or without a trailing `/` we'll normalize it for you)
    3. **Username:** Optional. The system will attempt to retrieve it automatically\
       from the JFrog API using the provided access token. If you get an error, use the username you used during token creation eg. `arnica-service-account`
    4. **Access Token:** The token you created. (If you created a token of type "Reference", use that one).
11. Click Validate to confirm your credentials.
12. If it turns green, you are good to go, and click OK to add the integration.


---

# 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.arnica.io/arnica-documentation/getting-started/container-integrations/jfrog-artifactory.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.
