Whether you’re building demo accounts or you want to use a sandbox account for testing, you might find that you want to clone your account’s configuration into a new account. This guide will walk you through how to do just that.
We are going to show you how to clone your configuration from one account into another in 5 steps:
- Log in into the source account
- Pull resources from the source account
- Edit resources locally (optional)
- Log in into the destination account
- Apply resources into destination account
The “Source Account” is the account you want to clone and the “Destination Account” is the account you want to clone into.
Before we get started, make sure that you:
Have installed the Yext CLI and if you’re on an old version are upgraded to the latest
You have the Yext Account ID for a source account that has configuration in Sandbox or Production. This is the account you want to copy. You will need the Yext Account ID for this account.
You have the Yext Account ID for the destination account in Sandbox or Production. This account can be brand new or can have existing configuration (just keep in mind if the latter that there may be conflicts so you may want to do things like a “Dry Apply” / View Diffs before applying).