Before connecting Alvys to NetSuite, your NetSuite environment must be properly prepared: the correct features, roles, users, and credentials must be configured, or the integration will fail to authenticate or export transactions.
Overview
Before configuring (setting up) the Alvys and NetSuite integration, your NetSuite environment must be properly prepared. Most integration failures result from misconfigured features, roles, users, or improper subsidiary access. Alvys connects to NetSuite using Token-Based Authentication (TBA) through SuiteTalk REST Web Services. This secure authentication method allows encrypted API communication without storing user credentials. OAuth 2.0 is not used.Before You Start
Required role: Configuring the accounting integration in Alvys requires the “CompanyProfileManager” permission, available to the Admin, Partner Admin, or Support role. On the NetSuite side, a NetSuite Administrator (or a role with equivalent permissions) is needed only during setup to enable features, create roles, and generate tokens. Prerequisites:- An active NetSuite account with Administrator-level access
- Access to Setup, Users/Roles, and Integrations in NetSuite
- If your organization uses NetSuite OneWorld, all subsidiaries must be created and configured before starting
💡 Important: Do not use your personal Administrator login for the live integration. During setup you will create a dedicated integration role and user specifically for Alvys. Your Administrator account is used only to prepare the system, not to run the integration long-term.
Steps
Enable required NetSuite features
The required features are: REST Web Services, SOAP Web Services, Token-Based Authentication (TBA), and SuiteScript. Required Features- REST Web Services – Allows NetSuite to share data with Alvys
- SOAP Web Services – Recommended to ensure compatibility with all supported record types
- Token-Based Authentication (TBA) – Allows secure system access without using a password
-
SuiteScript – While Alvys does not deploy custom scripts in your account, SuiteScript is required for NetSuite’s REST and SOAP Web Services to function properly, including internal searches and record queries executed by the integration.
💡 Important: OAuth 2.0 is not required for this integration. Alvys authenticates exclusively using Token-Based Authentication (TBA).
- Log in to NetSuite using your administrator account.
-
Navigate to Setup > Company > Enable Features.
NetSuite menu: Setup > Company > Enable Features
NetSuite menu: Setup > Company > Enable Features
-
Open the SuiteCloud tab.
Selecting the SuiteCloud tab
Selecting the SuiteCloud tab
- In the SuiteTalk (Web Services) section, enable SOAP Web Services and REST Web Services.
SuiteTalk (Web Services) section
SOAP and REST Web Services enabled-
In the Manage Authentication section, enable Token-Based Authentication (TBA).
Enabling Token-Based Authentication
Enabling Token-Based Authentication
-
In the SuiteCloud tab, locate SuiteScript and enable it.
Enabling Client and Server SuiteScript
Enabling Client and Server SuiteScript
- Click Save.
Create a dedicated integration role
A dedicated role separates automated API access from human administrator accounts and restricts permissions to only what is necessary.-
Navigate to Setup > Users/Roles > Manage Roles, then click New.
Creating a new role under Manage Roles
Creating a new role under Manage Roles
- Enter a descriptive name such as “Alvys Integration Role”.
-
Assign Subsidiary Access: if using OneWorld, assign access to all subsidiaries used in Alvys and enable Cross-Subsidiary Record Viewing.
Setting subsidiary access and cross-subsidiary viewing
Setting subsidiary access and cross-subsidiary viewing
-
Optionally, restrict the role to Web Services Only to prevent login through the NetSuite interface.
Restricting the role to Web Services Only
Restricting the role to Web Services Only
- Click Save.
Assign permissions to the integration role
Setup permissions (all Full Access unless noted): REST Web Services, SOAP Web Services, Login Using Access Tokens, SuiteScript, Accounting Lists, Custom Fields, Custom Item Fields, Custom Body Fields, Custom Column Fields, Custom Transaction Fields, Custom Entity Fields, Custom Record Types, Custom Segments, Custom Lists, Other Lists, Deleted Records, Manage Accounting Periods (View), Financial Institution Records
Setup permissions tab on the role
Transactions permissions tab on the roleList permissions:Accounts (Full), Address List in Search (Full), Contacts (Full), Customers (Full), Vendors (Full), Employees (View), Employee Record (View), Expense Categories (Full), Payment Methods (Full), Currency (Full), Items (Full), Perform Search (Full), Custom Record Entries (Full), Classes (Full), Departments (Full), Locations (Full), Subsidiaries (View), Contact-Subsidiary relationship (View), Companies (Full), Tax Records (View), Documents and Files (Full)
Lists permissions tab on the role
Create a dedicated integration user
-
Navigate to Lists > Employees, then select New (or choose an existing service account).
Creating the integration user (Lists > Employees > New)
-
Assign the Alvys Integration Role under the Roles section.
Assigning the Alvys Integration Role to the user
- Click Save.
💡 Admin account: used only to enable features, create roles, create integration records, and generate tokens. The dedicated integration user (employee record or service account) is used by Alvys to authenticate via REST/TBA.
Generate integration credentials
Alvys requires five credentials: Account ID, Consumer Key, Consumer Secret, Token ID, Token Secret. Locate your Account ID: In the NetSuite URL before “app.netsuite.com.” Example: inhttps://123456.app.netsuite.com, the Account ID is 123456. Sandbox accounts include a suffix such as “_SB1.”
Create the integration record:
-
Navigate to Setup > Integrations > Manage Integrations, then click New.
Creating a new integration record (Manage Integrations > New)
Creating a new integration record (Manage Integrations > New)
- Enter a descriptive name such as “Alvys TMS Integration”.
-
Enable Token-Based Authentication.
Enabling Token-Based Authentication on the integration
Enabling Token-Based Authentication on the integration
- Click Save.
- Copy the Consumer Key and Consumer Secret. Generate access tokens:
-
Go to Setup > Users/Roles > Access Tokens, then click New.
Creating a new access token (Access Tokens > New)
-
Select:
- Application Name: “Alvys TMS Integration”
- User: the dedicated integration user
- Role: the dedicated integration role
- Click Save.
- Copy the Token ID and Token Secret.
Confirm a complete Chart of Accounts
All required income, expense, asset, liability, and clearing accounts must exist before exporting transactions. See Oracle documentation: Creating Accounts.- Log in with a role that has accounting permissions.
- Go to Lists > Accounting > Accounts, then click New.
- Select the account Type.
- Enter the Account Name.
- If using account numbers, enter a number (account numbering must be enabled under Setup > Accounting > Accounting Preferences).
- Optionally assign a parent account or subsidiary (for OneWorld users).
- Click Save.
Configure subsidiaries (OneWorld accounts only)
See Oracle documentation: Creating Subsidiary Records. To create a subsidiary:- Navigate to Setup > Company > Subsidiaries.
- Click New.
- Enter the Name of the subsidiary.
- Assign a Base Currency.
- Select the Parent Subsidiary if applicable.
- Assign a Chart of Accounts.
- Complete tax settings.
- Click Save. To assign the Alvys Integration Role access to the subsidiary:
- Go to Setup > Users/Roles > Manage Roles and select the Alvys Integration Role.
- Click Edit.
- Find the Subsidiary Access section.
- Set access to All (recommended) or select only the subsidiaries used in Alvys.
- Enable Cross-Subsidiary Record Viewing.
- Click Save.