> ## Documentation Index
> Fetch the complete documentation index at: https://docs.drpn.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect NetSuite

> Capture the NetSuite setup Darpan needs for reconciliation workflows.

NetSuite involves more moving parts than most connections — account IDs, role permissions, integration records, script deployment status, RESTlet details. Confirming these before you start in Darpan means any connection failure gives you a useful error code instead of a dead end.

## Before you start

Confirm account, role, integration, and script deployment details with the NetSuite owner. Keep token values in secure configuration.

## Recommended setup order

1. From **Ask Darpan**, open **Open NetSuite Settings**.
2. Create or confirm the authentication configuration.
3. Create or confirm endpoint configuration.
4. Validate the configuration with a read-only operation (for example, a fetch/retrieve against the saved endpoint) before relying on it.
5. Attach the configuration to the workflow that needs it.

## Troubleshooting

If the connection fails, capture the exact NetSuite error code and message. Most fixes start by checking role permissions, environment target, token validity, script deployment status, or SuiteQL field names.

<Note>
  The API reference and engineering docs cover request shape. Secrets and account-specific values belong in secure configuration, not documentation.
</Note>

## Expected result

The configuration is validated with a read-only operation and attached to the workflow that needs it.

## Next step

Use the connection in [Set up a reconciliation run](/guides/setup-reconciliation-run) or [Set up an automation](/guides/setup-automation).
