Step 1: Log in to the Source Account

You’ll want to start by logging in to your Source Account. The “Source Account” is the account you want to clone and the “Destination Account” is the account you want to clone into. To start accessing your account, you need to run yext init.

  1. Run yext init. If your Source Account is in Sandbox, you’ll need to include the -u or --universe flag. If you are using a production environment account, you can exclude the flag.

    Production accounts, run:

    yext init

    Sandbox accounts, run:

    yext init -u sandbox
  2. You’ll be prompted to “Create new credentials” or “Use existing credentials”. Select “Create new credentials” if you’re connecting the CLI to your account for the first time. If you already have saved credentials for this account, you can choose that option and skip to the end of this step.

  3. Create your credentials.

    ? Please select one of the following options Create new credentials
  4. Next, you’ll need to input your account ID. You can find your Yext Account ID by looking in Account Settings > Personal Settings in the Account Information table or by pulling the ID out of the URL of your account after the /s/. For example:

    ? Enter account ID
    > 12345
  5. Finish up by clicking the link to authenticate into your account.

If you are getting an authentication error or are not in the right account, make sure that you are using the right -u flag for your account.

Feedback