> For the complete documentation index, see [llms.txt](https://docs.aisera.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aisera.com/agent-assist/event-studio-setup-for-agent-assist.md).

# Event Studio Setup for Agent Assist

Using Event Studio with [Agent Assist](https://aisera.com/products/assist/) improves performance because the Aisera Gen AI platforms receives updates to tickets in real time and starts pre-generating predictions. Without [Event Studio](https://aisera.com/blog/event-studio/),  the predictions are made when the ticket is opened and the widget loads.

1. Navigate to **Settings > Configuration > Feature Flags**&#x20;
2. Select **Enable Event Studio** and **Enable Internal Request**.

<div align="left"><figure><img src="/files/SCY15JzN8AlSoCqtIAkL" alt="" width="563"><figcaption></figcaption></figure></div>

3. Select **Settings > Data Type > Create Data Type.**

<div align="left"><figure><img src="/files/p56vb7fnCITolKnwPs2k" alt="" width="375"><figcaption><p>New Data Source</p></figcaption></figure></div>

4. Choose **Data Source > New Data Source** > and then fill out the required fields.&#x20;
5. Set **Functions** to **Event Trigger.**
6. Set **Data Types** to **Agent Assist.**

<div align="left"><figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfTROOJcPL7YXASzquk-eMxtTInLPJzhAtQkoucTxhTLW9LhLxj6RdPOCeGx6GXKSXWlJlfF4sUOqme6wZmgBLMynbp0GqYeHeWX41Se-_QjSF3hPsPeO11TrDu34CwKBnGtEsgNDZvNL9iUBbQMcjcE5F4?key=dWPLPE661ZjXXue-nJh6OQ" alt="" width="563"><figcaption><p>Functions and Data Types</p></figcaption></figure></div>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXe_Udjpm6Yr8dy7GVly7lBLYW_4DSa-jmeVb9QTVzZ0dWLL5r3T9K0Ogoy9qg_1N7ipBN7OZseuruhcTfzE0i3IM8M8Hp6pmfQ589Mwi1qTWdLmp3MDYFkvonZv0NiDqRsqZl3tEJqQ9xDcgIQujflCoFqu?key=dWPLPE661ZjXXue-nJh6OQ" alt=""><figcaption><p>View Event Trigger on Data Source Details Window</p></figcaption></figure>

7. Create **Events** in Event Studio for **Summary**, **Answer** and **Next Best Actions** on **Create** and **Update**
8. Create a **New Event Trigger**
   1. Select an **External Event Trigger** as the Data Source you created above.&#x20;

<div align="left"><figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeajAFksgp3Nded7Wc_0gLPHJv6eJUZ9CyuG9ZlbVKQMn0EXELmNq9WeCTYfZydzh0mhaToK_5GJw_8BYi8aZAkxk_iBGpe2IO5QhGURLeyJmZY3dlkcR2d6_wweV_LOXGNxj_Aa5uAUPG4Hr4aiuEfcdJ1?key=dWPLPE661ZjXXue-nJh6OQ" alt="" width="563"><figcaption></figcaption></figure></div>

9. Set the **Data Type** to **Agent Assist** and **Event Type** to **Created** or **Updated** \
   (You need to create 1 for each).

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXenp83t6sQJtFOhl-o9KzlM0bcQmXKr_7tymK_Ofu275XWNEUGkNHwmXaRZUOe0Uc0Y9Z7kLGHxQQasmnzDSWPQ0bhVPWXZtTM43dfYQxmUCEa5WrNgr-5YOnFijvYJnOIdHMVZ4aYOAu0IsxIYrM3pIR7U?key=dWPLPE661ZjXXue-nJh6OQ" alt=""><figcaption><p>Edit Event Trigger</p></figcaption></figure>

10. Select **Trigger Entity-Summarizer - Summary.**
11. Set **ticketId** to ticketId (others can be blank).

This is how the Event Studio window should look after all of the events are set up:

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXenXL3EcXzxRSHPxBV1_sGijH3NedFHZtqmNtwMzfkQbA2wA_KVmSBww7XY0rFEYzjEEHRmzJFySYs6d1uucRU-kFAw4cW836LDeZpb3yWcvQYh_lNPRIewALSlTNQvrdgAU72T57CSdBUZ8CCGqQ5QZwk?key=dWPLPE661ZjXXue-nJh6OQ" alt=""><figcaption><p>Event Studio with Triggers</p></figcaption></figure>

<br>
