# PartsBox

## **Connect PartsBox in Violet**

1. In [Violet](https://app.violetlabs.com/) (or [VioletGov](https://app.violetgov.com/)), navigate to **Integrations** and click  <img src="/files/IS4aq5Ad1Nr6RFUu4LLg" alt="" data-size="line"> to add a new integration.&#x20;
2. Select <img src="/files/2um3aD7DcOI1HGlM71CP" alt="" data-size="line"> **PartsBox**.

\[Optional] You can also provide a unique name for the connection based on the credentials you're using, and you can create **restricted permissions** to users or groups:

<figure><img src="/files/SpT8vIwBwWHZWTDqTFdP" alt="" width="375"><figcaption></figcaption></figure>

3. Enter your PartsBox API key
   1. To obtain a key, navigate to your PartsBox environment, then Settings > Data > API and select **Add API User**. Provide a name for the API user (eg. Violet), then select "User (read/write)" as the Role.
4. Click <mark style="color:purple;">**CONNECT WITH API KEY & CONFIGURE INTEGRATION**</mark>**.**
5. Configure your integration, and then click <mark style="color:purple;">**CREATE**</mark>.


---

# 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.violetlabs.com/apps/p/partsbox.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.
