The AI Assistant is a powerful natural language processing app that efficiently processes, transforms, and generates content with human-like accuracy.
Its flexible architecture seamlessly integrates with Brand Kit, enabling content creation from the Knowledge Vault or LLM, ensuring consistency across digital touchpoints.
By setting up Brand Kit, the AI Assistant applies your brand's guidelines, styles, and preferences, ensuring all generated content aligns perfectly with your brand identity for a cohesive audience experience.
You can install the AI Assistant app directly from our Marketplace and use it within your entries to generate brand-specific content.
Additional Resource: For more details, refer to the Brand Kit documentation.
Note: If Brand Kit is not enabled for your Organization, the AI Assistant app operates as usual. Please follow the AI Assistant App Installation Guide to see how it works in this scenario.
Follow this step-by-step guide to install the AI Assistant app within your stack.
To install the AI Assistant app, log in to your Contentstack account and follow the steps below:


Brand Kit Configuration (Overrides API Credentials): You can use Brand Kit’s API Key Credentials in the AI Assistant app.
Select API Credentials: You can select a way to configure the AI Assistant app:


Click the Enable On-Brand Generative AI toggle button, a pop-up appears. Then click Proceed to override the existing API Keys.
Enabling Brand Kit will automatically manage the AI Assistant app API settings, overriding any manual configurations. You can see a note in the Select API Credentials section.
Additional Resource: To view the Brand Kit API Key configurations, refer to the Edit a Brand Kit document.
Perform the following steps to create a Custom Action:

You can group similar prompts together by adding sub-actions for the main prompt.
For example, your prompt is "Shorten this text by {{selected_option}}". In the sub-action prompt, you can provide a value that will customize your prompt further. Suppose, you enter 10% in the Value field, then, the final prompt will be "Shorten this text by 10%".
Note: "{{selected_option}}" must be included in the prompt if you want to add sub actions.

You have successfully configured the AI Assistant app with Brand Kit.
Additional Resource:



To use the AI Assistant app within the entry of a stack, follow the steps given below:


Additional Resource:
Note: If you don't want to use Brand Kit or if it is disabled for you, you can still use all the AI Assistant options for creating generic or non-brand specific content.
You are now ready to use the AI Assistant app. Enter the prompt to start generating the content.
When you press enter, the AI Assistant app generates text based on the communication style settings that you used while configuring the voice profile.
To stop the app from generating the content, click Stop Generating.
After the app generates the content, it offers three options: Accept, Try Again, and Cancel, as shown in the screenshot below.
Click Accept to accept the current content changes or to overwrite the existing content with the newly generated content. To rephrase the content, click Try Again and to discard the generated content , click Cancel.
The AI Assistant app categorize the content generation in three categories:
You can see the Custom Actions that you configured in the advanced configuration settings in step 1.
Note: The AI Assistant options in the UI can be changed or edited by the Contentstack authorized team member or an Organization Owner/Admin.
You can use the Custom Actions defined in the configuration and transform your content.
In the above example, there is a custom action to “Shorten text by 50%”. You can see the output as per the custom action:
If the Custom Action has any sub-action(s), then the sub-action(s) can be displayed in the form of a dropdown when you hover over the custom action.
You get options to transform the content, such as:
Let’s see one of them with an example.
Navigate to the Title field. Click the AI Assistant app icon and then click Rewrite the field content option.
This re-phrases the existing content for better understanding.
You can replace or modify the content using the following predefined actions.
Let’s see each one of them with an example:
The AI Assistant Optimize text for SEO predefined action empowers you to create highly search-optimized content, driving more organic traffic and improving your website's overall search rankings. This action will Identify keywords and key phrases, and simply generate the SEO optimized text.
The AI Assistant Change tone predefined action allows you to change the tone and style of the existing content using four options: Persuasive, Straightforward, Friendly, and Professional.
The AI Assistant Change length predefined action helps increase or reduce the length of the existing content.
You can use Longer to add more content.
You can useShorter to shorten up the content.
You can also enter custom commands to generate content based on the command for the entry field. You can add and use the following variables in the custom command as placeholders for dynamic content.
{{field_data}}: Use this variable to store the current field content in the custom command box for manipulation. The field_data placeholder can hold the value of the current field’s content.
Suppose you want to rephrase the content in the Blog Name field then you can provide the following command in the custom box and click enter:
Rephrase this text to: {{field_data}} OR Summarize this text: {{field_data}}
In our example, it can generate new content for the Blog Name field as shown below:
Note: If you do not add the {{field_data}} variable in the custom command, the field content is automatically added at the end of the custom command.
{{current_locale}}: Use this variable to translate the field content in different locales. The {{current_locale}} placeholder can hold the value for the current locale in which you want to translate the field content.
Suppose you want to rephrase the content in the Blog Name field then you can provide the following command in the custom box.
Translate this text to {{current_locale}}:{{field_data}}
In our example, our locale is English and we are translating it to French locale. This can generate the content in the specified locale for the Blog Name field as shown below:
Brainstorm With AI Assistant is a chat-based feature in the AI Assistant app, designed to support your creative process. It enables users to engage in dynamic, conversational brainstorming sessions with AI, helping generate ideas, outline concepts, and shape content effortlessly.
To use this feature, click the Brainstorm With AI Assistant option, a pop-up appears.
Enter any prompt of your preference, to initiate the conversation with AI and then click the Generate button to generate a response for your prompt.
To stop the app from generating the content, click Stop Generating.
This generates the content based on your provided prompt.
After the app generates the content, it offers these options: Accept, Regenerate, and Edit, as discussed below:


You can use pagination to view all your responses.
Warning: Once you close the Brainstorm With AI Assistant pop-up, all the conversation will be lost.
You can also generate content for one field based on the content of another field.
The AI Assistant app lets you generate the following content based on another entry field.
Let’s see each of them with some examples as shown below:
To generate an outline for the Blog Summary field based on the Title of the entry, navigate to the Blog Summary field, click Outline, and then click the Title field.
Now, to generate a Summary for the Blog Summary field based on the Blog Name, navigate to the Blog Summary field, click Summary, and then click Blog Name.
To generate SEO Tags for the Tags field based on the Blog Name, navigate to the Tags field, click SEO Tags, and then click Blog Name.
Now, to generate a Blog Post for the Blog Content field based on the Blog Summary field, navigate to the Blog Content field, click Blog Posts, and then click Blog Summary.
To generate a headline for the Blog Name field based on the Blog Summary of the entry, navigate to the Blog Name field, click Headline, and then click the Blog Summary field.
To generate a user persona tag for the Blog Content field based on the Blog Summary of the entry, navigate to the Blog Content field, click User Persona Tags, and then click the Blog Summary field.