> For the complete documentation index, see [llms.txt](https://docs.ingestlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ingestlabs.com/tag-manager/publish/publish-to-the-staging.md).

# Publish to the Staging

## Introduction

After creating any elements, you must first publish to the Staging Environment and then in the Production environment.

## Procedure

To publish the tag to Staging, perform the following steps:

**Step 1:** Select **Publish** from the left navigation panel.

<figure><img src="https://2731380315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaDMDmegqZUJFhJhF4JQG%2Fuploads%2FZ6ZcDOaI8Z76CuEALJwr%2Fimage.png?alt=media&amp;token=cebd5b90-ebf2-4d59-97f9-f732666d6b0c" alt=""><figcaption></figcaption></figure>

**Step 2:** Click the staging tab.

<figure><img src="https://2731380315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaDMDmegqZUJFhJhF4JQG%2Fuploads%2FVnANo1o5USWPTNAZ23dC%2Fimage.png?alt=media&amp;token=7f536781-47db-4072-bbc6-65c8b49829d8" alt=""><figcaption></figcaption></figure>

**Step 3:** Click **Publish to Staging**.

<figure><img src="https://2731380315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaDMDmegqZUJFhJhF4JQG%2Fuploads%2F7EHOGsQQ5cCxSZU2HRki%2Fimage.png?alt=media&amp;token=77359f42-29ca-4b57-b69c-5fdd75f26b64" alt=""><figcaption></figcaption></figure>

**Step Result**: The *Publish to Staging* screen appears. Any newly created elements remain in a pending publish status, and you can view them here on this screen.

<figure><img src="https://2731380315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaDMDmegqZUJFhJhF4JQG%2Fuploads%2FLZ3LdxpnAHMYdmLMAeZc%2Fimage.png?alt=media&amp;token=bc6b0225-21d9-4d3e-ba95-91e7107eb0e2" alt=""><figcaption></figcaption></figure>

**Step 4:** Select the element and click **Review** on the top-right corner of the screen.

<figure><img src="https://2731380315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaDMDmegqZUJFhJhF4JQG%2Fuploads%2FFAL7talALCSca6R5FXSr%2Fimage.png?alt=media&amp;token=13812bcc-cdd8-4df2-802c-8fb1a408a70f" alt=""><figcaption></figcaption></figure>

**Step 5:** Enter the Publishing Name in the **Name** field and provide **Description.**

<figure><img src="https://2731380315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaDMDmegqZUJFhJhF4JQG%2Fuploads%2FspoikxMjDVGI2C1sZl8a%2Fimage.png?alt=media&amp;token=52626772-a364-428c-a77a-09131c64c2cd" alt=""><figcaption></figcaption></figure>

**Step 6:** Review the tags that are selected and click **Publish to Staging**.

<figure><img src="https://2731380315-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaDMDmegqZUJFhJhF4JQG%2Fuploads%2Foe1O8AFJDRBqZbep5Jo0%2Fimage.png?alt=media&amp;token=6283ee9c-1b62-42be-850d-51a9d9e86413" alt=""><figcaption></figcaption></figure>

**Step 7:** Click the refresh icon on the top right to change the status from Publish to Staging->Queued->Finished->Published.

![](https://ingest-lab.netlify.app/images/publishimages/refreshstatus.png)

**Step Result**: The Published tag appears with the Published status.

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaDMDmegqZUJFhJhF4JQG%2Fuploads%2FbbXqEEIXqlgk4m7Zrw0z%2FPublish%20the%20Tag%20to%20Staging.mp4?alt=media&token=92f38ad5-095d-4df9-88bb-bb3dc6595fda>" %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.ingestlabs.com/tag-manager/publish/publish-to-the-staging.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
