> ## Documentation Index
> Fetch the complete documentation index at: https://docs.release0.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How to set an Expiration for your Agent

> Learn how to set Agent Expiration in Release0 to automatically disable your chatbot after a specific date. This guide explains how to configure expiration settings, display custom messages, and set up redirects for expired agents.

Set an expiration date for your agent to automatically disable access after a specific date.

<iframe width="560" height="315" src="https://www.youtube.com/embed/P0r9Ala-tUU" title="Set an Agent Expiration Date in Release0" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen />

### How to Set an Expiration Date

1. Go to the agent's **Configuration** section.
2. Click the **Expiration** button located in the settings panel.

<Frame style={{ maxWidth: '400px' }}>
  <img src="https://mintcdn.com/release0-13d037a7/yObsxJC6hQM-WcgS/images/agent-settings/agent-expiration.png?fit=max&auto=format&n=yObsxJC6hQM-WcgS&q=85&s=f3a1b348da81cafd0d17229e08c314c7" alt="Release0.com - Agent expiration" width="1040" height="1036" data-path="images/agent-settings/agent-expiration.png" />
</Frame>

3. In the dialog that opens, enter the expiration date manually or use natural language like:
   * `in 3 days`
   * `next Friday`
   * `2025-06-01 18:00`

4. Optionally, write a custom message or set a redirect URL after expiration.

<Frame style={{ maxWidth: '400px' }}>
  <img src="https://mintcdn.com/release0-13d037a7/yObsxJC6hQM-WcgS/images/agent-settings/agent-expiration-dialog.png?fit=max&auto=format&n=yObsxJC6hQM-WcgS&q=85&s=23b2e16871b53bbd68dce2be8f928227" alt="Release0.com - Agent expiration dialog" width="872" height="952" data-path="images/agent-settings/agent-expiration-dialog.png" />
</Frame>

### What Users Will See

Once the agent has expired:

* Users visiting the public URL will no longer be able to access or interact with it.
* If a **custom message** was set, it will be displayed in place of the agent.
* If a **redirect URL** was configured, users will be taken there automatically.

<Frame style={{ maxWidth: '400px' }}>
  <img src="https://mintcdn.com/release0-13d037a7/yObsxJC6hQM-WcgS/images/agent-settings/agent-expiration-page.jpg?fit=max&auto=format&n=yObsxJC6hQM-WcgS&q=85&s=ab949e0e7aace7d8666f6bfccb59ec14" alt="Release0.com - Agent expiration page" width="1490" height="1158" data-path="images/agent-settings/agent-expiration-page.jpg" />
</Frame>

> **Note**: You can update or remove the expiration date at any time from the same **Configuration** section.
