The Contentstack Developer Tools app enhances your development workflow by providing code snippets for content types and entries directly within the CMS.
This app supports two UI locations; the Entry Sidebar and the Content Type Sidebar. With the Content Type Sidebar, you can generate TypeScript code for content types and receive type definitions for API responses.
In the Entry Sidebar, you can select your preferred programming language to generate SDK code snippets for individual entries or retrieve snippets for all entries within a content type. Additionally, the app provides a JSON View, offering a clear and structured visualization of the API response, making it easier to analyze and work with the data.
The Contentstack Marketplace lets you install the Developer Tools app and use it in the content type and entries of a content type within the stack.
This is a step-by-step guide to install and configure Developer Tools within your stack.
To install the app, log in to your Contentstack account and follow the steps:



Additional Resource: For more information, refer to the Entry Sidebar and Content Type Sidebar UI Locations documentation.
Note: No additional configuration is required.
To use the Developer Tools app within your stack, follow the steps given below:
To use the Developer Tools app in the Content Type Sidebar, open your existing content type or create a new one.
Note: If you add or remove fields in the content type, then save the content type before generating the code.



You can scroll and view the code by clicking the Scroll to Top and Scroll to Bottom icons, and click the Copy icon to copy the code.
You can also view the code block by clicking the Expand view icon.
To use the Developer Tools app in the Entry Sidebar, open your existing entry or create a new one.
Note: If you add, edit, or remove any data in the entry, make sure to save it before copying the code.






You can also expand the code view by clicking the Expand View icon.