account:setup

Sets up an account to use with SuiteCloud CLI for Node.js.

Note:

This command only supports interactive mode.

Depending on whether your account uses two-factor authentication (2FA), select one of the following options when prompted:

Syntax

            account:setup 

          

Options

Option

Required / Optional

Description

-i or --interactive

Optional

Runs the account:setup command in interactive mode.

-h or --help

Optional

Displays help for the command.

Example

The following command sets up the account to use with your current SuiteCloud project using the interactive mode:

            suitecloud account:setup 

          

Before the command is executed, the following questions are prompted:

            Select or create an authentication ID: ***The authentication ID that you select or create will be set up as default. > Create a new authentication ID.
___________________________________________ Select a configured authentication ID:
( ) myRoleID - myAccountID [ROLE: myDomainURL]
Select an authentication method: If your role requires 2FA, you must save a TBA token issued in NetSuite. To learn how to issue a token in NetSuite, see https://system.netsuite.com/app/help/helpcenter.nl?fid=bridgehead_4254083671.html. Browser-based authentication. > Save a TBA token issued in NetSuite.
Enter an authentication ID: myDevRole
Enter the Token ID: *********************************
Enter the Token Secret: ******************************** 

          

Output Example

When executed, the command produces output that is similar to the following:

            Token has been saved.
The account has been successfully set up. 

          

Related Topics

SuiteCloud CLI for Node.js Reference
account:savetoken
file:create
file:import
file:list
file:upload
object:import
object:list
object:update
project:adddependencies
project:create
project:deploy
project:package
project:validate

General Notices