# NetSuite

## Setting up a key

Firstly the company and account number are the first part of the NetSuite URL for that client. For example if the URL is <https://123456-sb1.app.netsuite.com/app/common/integration/integrapplist.nl?whence=> then the company and account number would be 123456-sb1.

Next within NetSuite, go to Setup -> Integration -> Manage Integrations -> New. Give the integration a name, ensure that Token-based authentication, TBA: Issuetoken Endpoint and User Credentials are selected. Everything else should not be. Click on Save.

<figure><img src="/files/ZFn9BY8eq0dbNmmmXxb9" alt=""><figcaption></figcaption></figure>

A consumer key and consumer secret will then appear in the client credentials section. Add these to the consumer key and consumer secret within the control panel key. These only appear once.

Next go back to the homepage by clicking on the house icon. Scroll to the bottom of the page and click on "Manage Access Tokens". Click New My Access Token. Select the Application that we just created and press save.

<figure><img src="/files/ylwDjbbPNfwxhw01ED4y" alt=""><figcaption></figcaption></figure>

The Token ID and Token secret will then show up which can be added to the key.

All done.


---

# 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.highcohesion.com/integration-tutorials/netsuite.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.
