Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Important
This feature is in Public Preview. You can confirm preview enrollment on the Previews page. See Manage Azure Databricks previews.
Learn how to configure your NetSuite account for Azure Databricks ingestion using token-based authentication (TBA).
Requirements
To configure NetSuite for Azure Databricks ingestion, you must have the following:
- A NetSuite account with a SuiteAnalytics JDBC drivers license.
- Access to the
NetSuite2.comdata source. The legacynetsuite.comdata source is not supported. - Administrator privileges in NetSuite to create roles, users, and integrations.
Step 1: Enable TBA and create a role and a user
- In your NetSuite account, go to Setup > Company > Enable Features.
- Click the SuiteCloud tab.
- In the Manage Authentication section, enable Token-Based Authentication.
- Click Save.
- Go to Setup > Users/Roles > Manage Roles > New.
- Enter a role name (for example,
LakeFlowRole). - On the Permissions tab, under Settings, add the following permissions:
Log in using Access TokensSuiteAnalytics ConnectDeleted RecordsCustom Record TypesCustom Body FieldsCustom Column FieldsCustom Entity FieldsCustom Event FieldsCustom Item Fields
- Click Save.
- Go to Setup > Users/Roles > Manage Users > New.
- Enter a username (for example,
LakeFlowUser) and fill in the required fields. - On the Access tab, assign the following roles:
- The role you created (for example,
LakeFlowRole) Data Warehouse Integrator
- The role you created (for example,
- Click Save.
Step 2: Fetch the consumer key and secret
In NetSuite, go to Setup > Integration > Manage Integrations > New.
Enter a name for the integration (for example,
Lakeflow Integration).Enable Token-Based Authentication.
Optionally, configure other settings as needed for your organization.
Click Save.
After saving, NetSuite displays the Consumer Key and Consumer Secret. Copy these values to a secure location. You'll use them to create a connection in Azure Databricks.
Important
The consumer secret is only shown once. If you lose it, you must create a new integration.
Step 3: Fetch the token ID and secret
In NetSuite, log in as the user you created (for example,
LakeFlowUser).Go to Setup > Users/Roles > Access Tokens > New.
Select the application (integration) you created (for example,
Lakeflow Integration).Select the role you created (for example,
LakeFlowRole).Click Save.
NetSuite displays the Token ID and Token Secret. Copy these values to a secure location. You'll use them to create a connection in Azure Databricks.
Important
The token secret is only shown once. If you lose it, you must create a new access token.
Step 4: Get the role ID
- In NetSuite, go to Setup > Users/Roles > Manage Roles.
- Search for the Data Warehouse Integrator role.
- Click the role to view its details.
- Copy the Internal ID (role ID) to a secure location. You'll use it to create a connection in Azure Databricks.
Step 5: Find the host, port, and account ID
- In NetSuite, go to Settings > Set up SuiteAnalytics Connect.
- The Your Configuration section shows your service host, port, and account ID information. Copy these values to a secure location. You'll use them to create a connection in Azure Databricks.
Next steps
The next steps depend on your user persona:
| User | Steps |
|---|---|
| Admin | Use Catalog Explorer to create a connection so that non-admins can create pipelines or use the data ingestion UI to create a connection and a pipeline. |
| Non-admin | Use any supported interface to create a pipeline from an existing connection. |
Additional resources
- Enable the Token-based Authentication Feature in the NetSuite documentation
- Token-based Authentication (TBA) permissions in the NetSuite documentation