---
title: Custom publish environments
description: If you need more than the three default environments, you can create custom environments to give you more options.
url: https://docs.tealium.com/iq-tag-management/save-publish/custom-publish-environments/
---
## How it works

Custom environments are useful for the following scenarios:

* Creating a sandbox or local environment for developers to make long-term changes without impacting the regular workflow.
* Creating a staging environment to match your organization's internal testing environments.
* Creating an alternative production environment so that changes can be released in phases to smaller subsets of customers to minimize any potential negative impacts.

The environments to which you publish a profile correspond to the URL of the Universal Tag (`utag.js`) that you load on your site. The default environments correspond to the following URL paths:

* **Dev** - `/utag/account/profile/dev/utag.js`
* **QA** - `/utag/account/profile/qa/utag.js`
* **Prod** - `/utag/account/profile/prod/utag.js`

Custom environment names are case-sensitive in the URL for `utag.js`. For example, if you create a custom environment named `Preview`, the URL path to the `utag.js` file in that environment would be: `/utag/ACCOUNT/PROFILE/Preview/utag.js`

To test custom publish environments, you can use [Web Companion]() or the [Environment Switcher Tealium Tool]().

For more information about creating and managing custom environments:

* Platform Permissions: [Manage Environments](https://docs.tealium.com/manage-environments/).
* Legacy Permissions: [Code Center](https://docs.tealium.com/code-center/).

## Publish to a custom environment

To publish to a custom environment:

1. Click **Save/Publish**.
1. In the **Publish Location** section, select the **Custom** checkbox. A drop-down list appears:
    ![](https://docs.tealium.com/images/iq-tag-management/save-publish/iq-custom-publish-environment-save-publish.png)
1. Select the environment you want to publish to from the drop-down list.
    * You can publish to only one custom environment at a time. To publish to multiple environments, repeat the publishing process for each one. 
1. Click **Publish**.