Assign an Alias to a Branch

An Alias helps point to a particular branch in your stack. When your alias points to a specific branch, that branch acts as the primary branch from which you deliver content to your website. You can display the modifications made in this branch on your website without the need to alter any code.

To create an alias, log in to your Contentstack account, go to your stack, and perform the following steps:

  1. Click the “Settings” icon on the left navigation panel, select Branches, and click on the Aliases tab.
  2. Click on + Assign Alias.image.png
  3. The Assign New Alias form appears for you to add the following details:
    • Alias ID: Enter a name for the alias, such as “Alias 1,” “Manager Alias,” or so on.
    • Target Branch: Select a branch to which you want your alias to point from the dropdown.
  4. Finally, click on Save to save your alias.
    Assign_an_Alias.png

API Reference

To perform operations related to aliases within your stack via API, refer to the following documents:

Was this article helpful?

Thanks for your feedbackSmile-icon

More articles in "Work with Aliases"

On This Page

^