What is a Stack

A stack can be defined as a pool of data or a container that holds all the content/assets related to a site. It is a collaboration space where multiple users can work together to create, edit, approve, and publish content.

This is the first page that will appear once you log in. Since Contentstack is capable of handling multiple stacks, you will see a list of stacks that you have access to. As a Developer, you can invite users to a stack. The invited users can then log in to the platform and start working with you on a stack with the rights and access you have assigned to them.

Create a New Stack

Once you log in to Contentstack, click on the ‘+ New Stack’ link to create a new stack. In the ‘Create New Stack’ dialog box that appears, enter a suitable 'Name' (mandatory field) and 'Description' (optional field) for the stack. For the 'Master Language' field (mandatory), select a language that you wish to set as the primary language of the stack. Then click 'Create'.

Since this is a new, empty stack, you will be prompted to create or import a content type. Learn more about content types here. You can create as many stacks as you like.

Tutorial Video

Let’s assume that we want to create an online news site that publishes latest news regularly. So, we will create a corresponding stack in Contentstack named My News. Let’s have a look at a short video that shows how to create this stack.

Create a New Stack.png

Edit a Stack

To edit a stack, go to Settings > Stack. The General section on the left displays the basic info of your stack. You can edit the Name and Description of the stack from here. On the right, under API Credentials, you will see the stack’s API key and access token fields as well as quick links to the API reference.

If you are the owner of the stack, you can delete or transfer the ownership of the stack. If you are collaborator or an invited user, you can stop collaborating by clicking Leave Stack.

Tutorial Video

Let’s have a look at a short video that shows how to edit a stack.

Edit a Stack.png

Delete a Stack

Only the owner/creator of the stack has the permission to delete the stack. To delete a stack, go to Settings > Stack, and click Delete Stack.

Tutorial Video

Let’s have a look at a short video that shows how to delete a stack.

Delete a Stack.png

Leave a Stack

A collaborator or an invited user can stop collaborating on a stack. To do this, go to Settings > Stack, and click Leave Stack.

Was this article helpful?