Setting Up NetSuite Accounts in SuiteCloud Extension for Visual Studio Code

Written by
Manuelito Macalinao
Published on
January 30, 2024 at 2:41:35 AM PST January 30, 2024 at 2:41:35 AM PSTth, January 30, 2024 at 2:41:35 AM PST

You can set up the NetSuite accounts you want to customize. If you have set up domains in addition to the default NetSuite ones, you need to configure account-specific details for these additional domains you added.

The following tasks are available for account setup:

Adding an Account in SuiteCloud Extension for Visual Studio Code

SuiteCloud Extension for VS Code passes your account information to NetSuite during the SuiteCloud extension authentication process. As a prerequisite to adding an account, a SuiteCloud project must be open in VS Code. For more information, seeCreating a SuiteCloud Project in SuiteCloud Extension for Visual Studio Code.

To add an account:

Note

You can also add an account by clicking Set Up Account in the status bar when you have a specific file from a project open in the editor.

  1. In VS Code, open the Command Palette and entersuitecloud.

  2. From the dropdown list, selectSuiteCloud: Set Up Account.

  3. From the dropdown list, selectNew authentication ID.

  4. From the dropdown list, select one of the following options:

    • Browser-based authentication: Use this option to authenticate your account through a browser that is prompted automatically.

    • Save a TBA token issued in NetSuite: Use this option to save a TBA token that was previously issued in your account.

      Note

      For information about how to issue a token in NetSuite, seeViewing, Editing, Creating, and Revoking TBA Tokens.

  5. In the text field, enter an authentication ID.

    Note

    An authentication ID is a custom alias you give to a specific account-role combination, for example: testaccountadmin.

    • If you selected browser-based authentication, in the text field, press Enter to use the production domain or enter your custom domain.

      Next, follow the instructions in the browser prompt.

    • If you selected the option to save an issued TBA token, do the following in the corresponding fields:

      • Enter your account ID.

      • Enter the token ID of the TBA token you previously issued in NetSuite.

      • Enter the token secret of the TBA token you previously issued in NetSuite.

    If the entered information is correct, your account is successfully set up and ready to be used in SuiteCloud Extension for VS Code.

Setting an Account as Default in SuiteCloud Extension for Visual Studio Code

In addition to set up your accounts in SuiteCloud Extension for VS Code, you can also set a specific account as default for a project. The default account is used for all the NetSuite actions, such as deploy, list SDF custom objects, and upload files.

To set up an account as default:

  1. In VS Code, open the Command Palette and entersuitecloud.

  2. From the dropdown list, selectSuiteCloud: Set Up Account.

  3. From the dropdown list, select the authentication ID of the account you want to set as default.

    The selected authentication ID is set as default for the project.

Note

You can also set up an account as default by clicking Set Up Account in the status bar when you have a specific file from a project open in the editor.