Step 1: Create a Default Account

With the CLI, you can easily create a default account.

  1. Run the following command:

       yext accounts create
  2. Upon creation, you will see an output json with the account id as well as the user to log in to the account.

  3. By default, the command creates an account in production, but you can specify the environment with the –universe / -u flag. Accepted values are [sandbox, and production].

This command will create an account with the following details:

    name = "Test Account"
    accountType = "DEVELOPER_ACCOUNT"
    country = "US"
    language = "en"
    defaultLocationType = "LOCATION"
    parentBusinessId = "69878"
    
    [users.OWNER]
    firstName = "Test"
    lastName = "User"
    emailPrefix = "testUser"
    password = "PASSWORD"
Feedback