> For the complete documentation index, see [llms.txt](https://help.gopaddle.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.gopaddle.io/overview/ai-assistant/create-runbook-from-chat-window.md).

# Create Runbook from Chat Window

The troubleshooting information generated by AI can be stored as a runbook.&#x20;

If a runbook hub exists, then this hub can be used to store the troubleshooting information.

{% hint style="info" %}
**Default Runbook Hub**

Currently Chat Window does not persist the default Runbook Hub details. Every time the chat window is opened, the first available Runbook Hub (if any) will be set as the default Runbook Hub.
{% endhint %}

### **Setting default Runbook Hub (Optional)**

1. List the available Runbook Hubs

<figure><img src="https://lh7-us.googleusercontent.com/Gwu7i9NMf0rM-Zom2y-DhQN5zuCU3UuXgj6ukPD2WPd_qyhwoBLHjTyqmUwVg6X5iIjS805Fge8wXjRHaakJiZKhlvNBzttbbbNXHYNwMscQ8LLvUJYLp775T6sVlVRBJEQkkTxjY8p-Lq5yDBGatBQ" alt=""><figcaption><p>List all available Runbook Hubs</p></figcaption></figure>

2. Select the default Runbook Hub

<figure><img src="https://lh7-us.googleusercontent.com/oN77C5yILjKjSBUTpSiu4Xd5bzAFwkSj2QSYZPI5tBaZzI_w3WmUba9Px5V6LxCSQy8y6TTrEnplCEYBIqxZ0SJJqr7WeriBBHpg_c9O5S1OuUw-kXS_ckyRi-b3VVP4V3ydw-S-tdToGMrD-g6XlJg" alt=""><figcaption><p>Select a Runbook Hub</p></figcaption></figure>

### **Creating Runbook with AI Content**

A new Runbook can be created with the information generated by the AI.&#x20;

1. Create a runbook by sending the command <mark style="color:purple;">`/runbook create`</mark>

<figure><img src="https://lh7-us.googleusercontent.com/-y5uEXFCybNJOUpzjxNtJKrD0oE-IVjDFRIHkKGznSXZdocHOqh5IsHS6pt6y3o14IOCzk60jmM0qBa10IoAXSbDzHdvJ5UO3zX--A8zDLqcdtjC_Hcqy4waBK3AFgimUJHUw9Gxoq5GMfcfNQLPxos" alt=""><figcaption><p>Create a Runbook</p></figcaption></figure>

Once the runbook is created, to attach it to a resource or an event, check the [Filters](/overview/kubernetes-ide/filters.md) section on how to add the JSONPath or Label Selectors.

List of all commands to interact with Runbook Hub:<br>

<figure><img src="https://lh7-us.googleusercontent.com/txJwcxAWfKmLMCcIprWCSVjm-lTh89IW8WQm6JM4LH-8aV2yp4EUhIt7O5xZIHgOTAfGD9zhN1woz56Fq5fHVYVTWP_iocTJz3RDN8JYzurrhL1E75nW9yt-GwcPG3XP3Ew65iBfVg8tQad8MXXopFc" alt=""><figcaption><p>Runbook Commands</p></figcaption></figure>

\ <br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.gopaddle.io/overview/ai-assistant/create-runbook-from-chat-window.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
