# Publishing a Tag to Staging

After creating a new tag on Magic Pixel, it has to be first published to the Staging Environment, and  only then it can be published from staging to the production environment.&#x20;

Once a new tag is created, go to the publish timeline where you will see the list of all the tags across both the staging and production environments. To a publish a new tag to staging:&#x20;

**Step-1:** Click on the staging tab to see all the tags in the staging environment. Then click on "Publish to Staging"&#x20;

<figure><img src="https://3694280610-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgHNBt97gIENwdqupVwdu%2Fuploads%2FldKebdVaBpMxwRNeimkW%2Fpublishing%20a%20tag%20to%20staging.png?alt=media&#x26;token=78e68941-425c-4043-bb62-85fcad9c1857" alt=""><figcaption></figcaption></figure>

**Step-2:** Then you will be redirected to a page where all the tags that are ready to be published to staging. Here, select the tag you have created.&#x20;

<figure><img src="https://3694280610-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgHNBt97gIENwdqupVwdu%2Fuploads%2Fd16u1V1HrIQexCTM2FpJ%2Fready%20to%20publish.png?alt=media&#x26;token=2d9e8538-a383-4c93-85ec-635f4dac6bbe" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3694280610-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgHNBt97gIENwdqupVwdu%2Fuploads%2FTzKZOX8YsYzqcrNGLsjf%2Fselect%20tag%20to%20publish.png?alt=media&#x26;token=6728d9c4-ae89-4c52-ba83-af0c1a6f2a3d" alt=""><figcaption><p>Select the tag that you want to publish to staging</p></figcaption></figure>

<mark style="color:blue;">**Note:**</mark> Here, you will notice that all the dependencies of that particular tag are also automatically selected and you can not unselect them. Magic Pixel automatically detects the dependencies and manages them for you.&#x20;

<figure><img src="https://3694280610-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgHNBt97gIENwdqupVwdu%2Fuploads%2FgeV8201OEFvhSWhmSwtZ%2Fdependencies.png?alt=media&#x26;token=d8a0f7d1-5cd7-4fdb-ac6d-6bcab1f0060c" alt=""><figcaption></figcaption></figure>

**Step-3:** Once you select the tag that you want to publish, you can now  click on "review" to add a name and description to give more context to your publishing activity. This helps in any future references.&#x20;

<figure><img src="https://3694280610-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgHNBt97gIENwdqupVwdu%2Fuploads%2FMwHVHGLHZXRiCEAHfmxP%2Freview%20publish.png?alt=media&#x26;token=48cf8e79-cd1f-4303-b721-74f227f03dfc" alt=""><figcaption></figcaption></figure>

**Step-4:** In the final step, click on "Publish to Staging" to successfully publish your new tag to the staging environment.&#x20;

This is how you publish a new tag to the staging environment. Now, you can publish the same tag to production. Read: [publishing-a-tag-from-staging-to-production](https://docs.magicpixel.io/publish/publishing-a-tag-from-staging-to-production "mention")
