A sandbox is a test environment with varying degrees of similarity to your production environment. You can use the sandbox to test, learn, and make mistakes without affecting your production environment. Zendesk has two types of sandbox environments: standard and premium. A standard sandbox reflects native Zendesk functionality with your basic settings, but not your data, whereas a premium sandbox replicates some of your data in addition to your basic settings.
Key facts about sandboxes
-
The types of sandbox available to you vary by plan:
- Support Enterprise includes one standard sandbox.
- Suite Enterprise includes one standard sandbox and one partial premium sandbox.
- Suite Enterprise Plus includes one standard sandbox and one full production premium sandbox.
Most legacy Enterprise plans, including Support Suite plans, include only one standard sandbox.
- You can have only one standard sandbox at a time. Plans with Premium Sandbox can also have a premium sandbox at the same time.
- Additional premium sandboxes can be purchased as an add-on. Contact your sales representative or Zendesk Customer Support to purchase premium sandboxes as an add-on.
- The production instance owner is listed as the sandbox owner by default. This is true even if another admin creates or replaces the sandbox.
-
To provide a more realistic testing environment, all sandboxes take the following settings from your production instance of Zendesk Support:
- Templates (standard emails, welcome emails, etc.)
- Branding (colors, account names, etc.)
- Settings (channels, agent permissions, etc.)
If you're creating a premium sandbox, a lot of your production content is also replicated, including tickets and their associated end users. For more information about premium sandbox setup choices and data replication, see About premium sandboxes.
- In sandbox environments, closed tickets are automatically archived after three days.
- The activation status of the Zendesk Agent Workspace is replicated in all new sandbox environments.
- Some security settings aren't replicated in sandbox environments. However, if you're using two-factor authentication (2FA), that will continue to work in your sandbox, too, as long as the user has a password set in the production account.
- Sandboxes reflect a moment in time for your production account settings and data. Replicating settings and data isn't instantaneous and the data doesn't stay synchronized with production after the sandbox is created. If you need to configure additional syncing from production to your sandbox, you can do so using the REST API.
- We recommend deleting your old sandboxes and creating new ones regularly to keep your sandbox environment up to date.
- Deleting a sandbox is a permanent change and can't be recovered.
- Changes you make in a sandbox don't affect your production environment.
- In most cases, if you're satisfied with the changes you tested in the sandbox, you can manually recreate them in your production environment. However, you can deploy configurations from a premium sandbox directly to your production environment.
- You can start trials for other Zendesk products in your sandbox. Any trial
is subject to limitations and a fixed time limit, as specified when you sign
up for the trial.
- Sandboxes created after May 2023 include a Talk trial of an unlimited duration, as long as the production account has an active Talk subscription or trial. The sandbox Talk trial is suspended when the Talk credits run out.
- Sell isn't supported in sandbox environments.
- After you create a standard or premium sandbox, you can sync product and add-on subscription changes. No other data can be updated after a sandbox is created.
Understanding standard sandboxes
- Help center content and customizations
- Zendesk Talk data
- Zendesk Chat data and customizations
- Security settings (except 2FA)
- API tokens
- Apps and integrations
- Conditional fields
- X (formerly Twitter) user identities
- Zendesk Support triggers, automations, macros, views, and custom fields
- Groups, organizations, and users
- Tickets
- Custom objects
For more information about creating and using standard sandboxes, see Testing changes in your standard sandbox.
Understanding premium sandboxes
Premium sandboxes provide a test environment that closely mirrors your production instance in configuration and data. This enables you to more accurately test updates to workflows, experiment with integrations and new business rules, and train agents without affecting production.
For all types of premium sandboxes, the following content is replicated:
- Brands
- Dynamic content
- Ticket fields
- Ticket forms
- User fields
- Organizations (only organizations referenced in configurations and tickets for express sandboxes)
- Organization fields (only for organizations referenced in configurations and tickets for express sandboxes)
- Targets (set to inactive in the sandbox by default)
- Groups
- Custom roles
- Shared views
- Shared macros
- Triggers
- Trigger categories
- Automations
- Agents
- Group memberships
- Support addresses (Internal support addresses, such as help@mybusiness.zendesk.com, are copied with slight modification to contain the brand's unique subdomain within the sandbox. If you've configured external support addresses, such as help@mybusiness.com, they're converted to internal addresses when replicated to a sandbox using the following structure: help-at-mybusiness-com@sandboxsubdomain.zendesk.com. If you've set an external support address as the default, the sandbox reverts to using the original default internal address: support@mybusinesssandbox.zendesk.com.)
- Webhooks (set to inactive in the sandbox by default)
- Apps (only free Marketplace apps that don't require authentication or additional configuration at installation)
- Custom objects (this doesn't include custom object records, lookup fields related to custom objects, or legacy custom objects)
For more information about how data replication works and limitations of the replicated data, see Understanding data replication in premium sandboxes.
Premium sandbox setup choices
- When you create a metadata premium sandbox, only your settings and business rules are copied. No tickets or associated end users are copied.
- When you create a partial premium sandbox, your settings, business rules, and up to 10,000 non-closed tickets that have been updated in the last six months and the associated end users are copied.
- When you create a full production premium sandbox, your settings, business rules, and up to 100,000 non-closed tickets that have been updated in the last six months and the associated end users are copied.
The types of premium sandboxes available to you depend on your plan. For example, Suite Enterprise customers will be able to create a partial premium sandbox, and Suite Enterprise Plus customers will be able to create a full production sandbox.
Additionally, you have the option to save time by creating the premium sandbox as an express sandbox, which replicates only organizations that are referenced in your configurations and ticket data. This ensures you have all the data necessary to test your configurations, but significantly reduces the time required to create the sandbox.
For more information about creating and using premium sandboxes, see Creating a premium sandbox with data replication.
Understanding data replication in premium sandboxes
Replication occurs automatically when you create a premium sandbox through Admin Center. The replication retrieves data from the production instance and creates the configuration and content in the sandbox, creating a new subdomain. The process will not affect the performance of your production instance. Data is only retrieved from the production instance, so nothing will be added, updated, or deleted there. For a complete list of the data that is replicated, see Understanding premium sandboxes.
The configuration of your sandbox instance will change rapidly while the replication is occurring, so we recommend waiting to use it until the replication completes. The time it takes for a replication to complete varies depending on the amount of content involved. A simple metadata copy with a small amount of fields and business rules takes less time, ranging from a few minutes to a couple hours. A full copy with 100,000 tickets, a million organizations, and the related users can take up to a week or more to complete. When the replication is complete, the status of the sandbox changes to Active . To expedite the creation of premium sandboxes, you can use the express sandbox setting to reduce the amount of organization data that is replicated.
To complete the replication, Zendesk creates an internal copy of the data to be migrated. Once this migration is complete, this copy is deleted.
Your choice of sandbox determines the maximum number of replications you can perform per month, as well as how long your sandbox and its data are persisted in the event you do not use your sandbox for a significant period of time. When you do not login or otherwise use your sandbox for a period of time, the sandbox and its data are deleted after the specified data retention period. The maximum number of replications you can perform per month for a sandbox, and how long sandboxes and their data are retained after you stop using them, depend on the sandbox type:
Premium - metadata copy | Premium - partial copy | Premium - production copy | |
---|---|---|---|
Maximum number of replications per month | 5 | 10 | 15 |
Sandbox data retention | 30 days | 90 days | 90 days |
After a sandbox is created, you can update the product and add-on subscriptions to reflect changes to your production account. No other replicated data can be updated after a sandbox is created.
For premium sandboxes, you can view creation reports to help you better understand exactly what was and wasn't replicated and why. See Generating a creation report for a premium sandbox.
Limitations on replicated data
The replication will be as close of an exact copy of the production instance as possible. However, there are several situations where the copy cannot be exact:
- Sandbox test environments include Zendesk Support functionality in Zendesk Suite only. They do not include, for example, Talk or Guide.
- Brands are replicated, but because brand names need to be unique across all Zendesk instances, they cannot be an exact match. The brand names will be modified to contain a unique string.
- Webhooks are replicated. However, all webhooks are deactivated in the Sandbox by default to prevent unintended interactions with the live APIs they're designed to connect to.
- User emails will be invalidated before being added to the sandbox instance by the use of the @example.com domain. This is to prevent emails from being inadvertently sent to your users. This includes both agents and end-users. An administrator can reverse the invalid emails for testing by editing the users' email addresses.
- APIs are enabled, but API tokens must be recreated.
- Apps and EAP functionality in production are deactivated within the sandbox upon creation but can be manually enabled.
- Side conversations are deactivated within the sandbox upon creation but can be manually enabled.
- Non-closed tickets that haven't been updated in the last six months, closed tickets, linked incident tickets, and ticket sharing agreements are not replicated.
- Targets requiring a password will be replicated, but they will have invalid credentials and be in a disabled state.
- Invalid rules and objects that reference unsupported
configurations aren't replicated. Examples
include:
- Conditions that reference ticket agreements
- Conditions that reference a deleted option or inactive field
- Unsupported conditions or conditions with dependencies that haven't been set up, such as a condition referencing custom objects or certain channels and integrations
- Inactive configurations are replicated, but business rules (for example, triggers and automations) that have conditions or actions which reference an inactive ticket field are not replicated.
- External email addresses are not copied to the sandbox.
- Changes made within a premium sandbox are not copied automatically into the production account and must be manually reproduced within the production account.
- Only the items identified in this article are replicated.
- Legacy agents can't be replicated. If you want them to be replicated, you must assign new roles to them.
- Views, triggers, and automations may appear in a different order in the sandbox. Personal views and macros aren't replicated.
- Only the first 100 comments are replicated per ticket.
- Skills used for skills-based routing aren't replicated.
- Custom object records can't be replicated. Tickets with lookup relationship fields that reference custom objects and business rules that reference custom objects can't be replicated either.
- Not all apps are replicated when you create a premium sandbox. To be replicated, an app must be a free app installed from the Zendesk Marketplace and it can't require authentication or additional configuration during installation.