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

# Templates

> Share your projects as templates and use templates created by others

Templates let you share your projects with the community and quickly start new projects from existing ones.

## Using Templates

### Browsing Templates

1. Go to the **Templates** page from the main navigation
2. Browse available templates or use the search bar
3. Filter by tags (e.g., "Dashboard", "E-commerce", "Odoo")
4. Click on a template to preview it

### Previewing a Template

When you click on a template, you'll see:

* **Live preview** - An iframe showing the deployed template
* **Description** - What the template does
* **Creator** - Who made it
* **Tags** - Categories and keywords
* **Usage count** - How many users have used this template

### Using a Template

1. Click the **"Use Template"** button in the preview modal
2. A new project is created in your workspace
3. You're redirected to the project chat
4. The project is automatically deployed

Your new project is a **complete copy** - you can modify it freely without affecting the original template.

<Note>
  When you use a template, sensitive data like API keys, credentials, and integrations are NOT copied. You'll need to set up your own integrations.
</Note>

## Sharing Your Project as a Template

You can share any project as a template for others to use.

### Requirements

Before sharing, your project must:

* Be **deployed** (have a live URL)
* Have a **name** and **description**

### How to Share

1. Open your project and go to **Edit** mode
2. Find the **"Share as Template"** card
3. Click **"Share"** or **"Manage"**
4. In the modal:
   * Toggle **"Share as template"** to enable
   * Add **tags** to help users find your template
   * Upload a **cover image** (optional, recommended)
5. Click **Save**

### Template Settings

| Setting               | Description                                                                |
| --------------------- | -------------------------------------------------------------------------- |
| **Share as template** | Toggle to make your project visible on the Templates page                  |
| **Tags**              | Keywords to categorize your template (e.g., "Dashboard", "Portal", "Odoo") |
| **Cover image**       | Custom image displayed on the template card (max 5MB)                      |

### Best Practices for Templates

* **Clear description** - Explain what the template does and who it's for
* **Meaningful tags** - Use relevant keywords so users can find it
* **Good cover image** - A screenshot or branded image makes your template stand out
* **Working state** - Make sure the template works correctly before sharing
* **Documentation** - Include comments or a README in your code

## What Gets Shared

When someone uses your template, they get:

* All **source code** and files
* **Project structure** and configuration
* **Description** and metadata

What is **NOT** shared:

* API keys and credentials
* Environment variables
* Integration connections
* Your personal data

## Template Visibility

Shared templates appear in:

* The main **Templates** page (`/templates`)
* **Featured Templates** section on the landing page (selected templates)
* Search results when users look for templates

## Managing Your Templates

To update or unshare a template:

1. Go to your project's **Edit** page
2. Click **"Manage"** in the Share as Template card
3. Update tags, cover image, or toggle sharing off
4. Click **Save**

<CardGroup cols={2}>
  <Card title="Project Management" icon="folder" href="/features/project-management">
    Learn how projects and workspaces work
  </Card>

  <Card title="Publishing" icon="rocket" href="/features/publishing">
    Deploy your projects with custom domains
  </Card>
</CardGroup>
