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

# Deploying Custom Providers

> Learn how to deploy and manage versions of your custom providers.

<Note>
  **What you'll learn:**

  * How deployments work
  * Version management
  * Rollback strategies
</Note>

Deploy your custom provider code and manage different versions over time. Metorial automatically builds and deploys your code when you upload it.

## Creating Deployments

<Steps>
  <Step title="Upload Code">
    Upload your provider code through the dashboard.

    <img src="https://mintcdn.com/metorial/fydw7J6y9LueIJC4/images/custom-servers/custom-provider-code.png?fit=max&auto=format&n=fydw7J6y9LueIJC4&q=85&s=2266003119a38f3d8dbd83a81c794c06" alt="Editing custom provider code" width="3838" height="2046" data-path="images/custom-servers/custom-provider-code.png" />
  </Step>

  <Step title="Click Publish New Version">
    Metorial builds your provider and installs dependencies automatically.
  </Step>

  <Step title="Validation">
    The build process validates your code and reports any errors.
  </Step>

  <Step title="Go Live">
    Your provider deploys and becomes available for use.
  </Step>
</Steps>

## Version Management

Each deployment creates a new version with a unique version number. View all versions in the dashboard, including deployment timestamps and the code changes in each version. You can switch between versions at any time.

<Info>
  **Version History:**

  * Every deployment is preserved
  * View timestamps and changes
  * Switch between versions instantly
</Info>

## Rolling Back

Revert to any previous version if you encounter issues with a new deployment. Select the version you want to restore and click Deploy. Rolling back is instant and doesn't require rebuilding your code.

## What's Next?

<Card title="Getting Started" icon="rocket" href="/custom-servers-managed-getting-started">
  Create your first custom provider.
</Card>
