> For the complete documentation index, see [llms.txt](https://docs.violetlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.violetlabs.com/apps/o/octopart.md).

# Octopart

Octopart connects via [Nexar](https://nexar.com/) using a Client ID and Client Secret. Follow the instructions below to generate these credentials for your Altium account. (Or if you already have them, skip ahead to the [next page](/apps/o/octopart/connect-octopart-in-violet.md)).

1. If you need an account in Nexar, [create one here](https://portal.nexar.com/sign-up). Activate your account and log in.
2. Navigate to [Applications](https://portal.nexar.com/apps) and select **Create app.** Name it, and under the **Scopes** section, check the **Design** box. Select the Terms and Conditions checkbox and click **Create**.

   <img src="/files/9Tk8N68Oz8mvBwkk9Fwr" alt="" width="375">
3. Once created, navigate to the **Authorization** tab in the app you just created. Scroll down to **Credentials**, and copy the Client ID and Client Secret. Remember to write these down.

Now you're ready to [connect Octopart in Violet.](/apps/o/octopart/connect-octopart-in-violet.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.violetlabs.com/apps/o/octopart.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
