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

# Get Started

Self-hosting the Literal AI platform is available as part of our **enterprise offering**. With this option, you will deploy the Docker image on your own infrastructure. The Docker image is available on a private registry, and you will need to [contact us](https://docs.google.com/forms/d/e/1FAIpQLSdPVGqfuaWSC2DfunR6cY4C7kUHl0c2W7DnhzsF9bmMxrVpkg/viewform?usp=header) to discuss enterprise licensing and get access to the registry.

<Tip>If you are looking to try out the platform, you can use the [cloud hosted version](https://cloud.getliteral.ai/) for free!</Tip>

# Deploying the Image

You have several options for hosting the platform:

<CardGroup cols={2}>
  <Card title="Azure" icon={<svg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg' fillRule='evenodd' clipRule='evenodd' strokeLinejoin='round' strokeMiterlimit='2'><g fillRule='nonzero'><path d='M52.091 10.225h40.684L50.541 135.361a6.5 6.5 0 01-6.146 4.412H12.732c-3.553 0-6.477-2.923-6.477-6.476 0-.704.115-1.403.34-2.07L45.944 14.638a6.501 6.501 0 016.147-4.415v.002z' fill='url(#prefix___Linear1)' transform='translate(2.076 1.626) scale(3.37462)'/><path d='M377.371 319.374H159.644c-5.527 0-10.076 4.549-10.076 10.077 0 2.794 1.164 5.466 3.206 7.37l139.901 130.577a21.986 21.986 0 0015.004 5.91H430.96l-53.589-153.934z' fill='#0078d4'/><path d='M52.091 10.225a6.447 6.447 0 00-6.161 4.498L6.644 131.12a6.457 6.457 0 00-.38 2.185c0 3.548 2.92 6.468 6.469 6.468H45.23a6.95 6.95 0 005.328-4.531l7.834-23.089 27.985 26.102a6.622 6.622 0 004.165 1.518h36.395l-15.962-45.615-46.533.011 28.48-83.944H52.091z' fill='url(#prefix___Linear2)' transform='translate(2.076 1.626) scale(3.37462)'/><path d='M104.055 14.631a6.492 6.492 0 00-6.138-4.406H52.575a6.493 6.493 0 016.138 4.406l39.35 116.594c.225.668.34 1.367.34 2.072 0 3.554-2.924 6.478-6.478 6.478h45.344c3.553-.001 6.476-2.925 6.476-6.478 0-.705-.115-1.404-.34-2.072l-39.35-116.594z' fill='url(#prefix___Linear3)' transform='translate(2.076 1.626) scale(3.37462)'/></g><defs><linearGradient id='prefix___Linear1' x1='0' y1='0' x2='1' y2='0' gradientUnits='userSpaceOnUse' gradientTransform='rotate(108.701 26.35 33.911) scale(131.7791)'><stop offset='0' stopColor='#114a8b'/><stop offset='1' stopColor='#0669bc'/></linearGradient><linearGradient id='prefix___Linear2' x1='0' y1='0' x2='1' y2='0' gradientUnits='userSpaceOnUse' gradientTransform='rotate(161.318 33.644 45.587) scale(10.31703)'><stop offset='0' stopOpacity='.3'/><stop offset='.07' stopOpacity='.2'/><stop offset='.32' stopOpacity='.1'/><stop offset='.62' stopOpacity='.05'/><stop offset='1' stopOpacity='0'/></linearGradient><linearGradient id='prefix___Linear3' x1='0' y1='0' x2='1' y2='0' gradientUnits='userSpaceOnUse' gradientTransform='rotate(69.426 25.69 62.036) scale(131.9816)'><stop offset='0' stopColor='#3ccbf4'/><stop offset='1' stopColor='#2892df'/></linearGradient></defs></svg>} href="https://github.com/Azure-Samples/literalai-azure">
    Deploy the Literal AI platform on Azure in a few minutes with the Azure Developer CLI.
  </Card>

  <Card title="AWS" icon="aws" color="#FF9900" href="https://github.com/Chainlit/literal-on-aws">
    Deploy the Literal AI platform on AWS in a few minutes with the CDK.
  </Card>

  <Card title="Google Cloud" icon={<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z" fill="#4285F4"/><path d="M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z" fill="#34A853"/><path d="M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z" fill="#FBBC05"/><path d="M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z" fill="#EA4335"/><path d="M1 1h22v22H1z" fill="none"/></svg>} href="">
    Coming soon.
  </Card>

  <Card title="Manual Deployment" icon="docker" color="#0285c7" href="/self-hosting/deployment">
    Deploy the Literal AI platform anywhere. You will have to provision the infrastructure and deploy the Docker image.
  </Card>
</CardGroup>

# Update the SDKs

By default, the Literal AI SDKs point to the cloud hosted version of the platform. To point the SDKs to your self-hosted platform you will have to update the `url` parameter in the SDK instantiation:

<CodeGroup>
  ```python Python theme={null}
  from literalai.client import LiteralClient

  MY_LITERAL_API_URL = "http://localhost:3000"

  literalai_client = LiteralClient(api_key="YOUR_API_KEY", url=MY_LITERAL_API_URL)
  ```

  ```typescript TypeScript theme={null}
  import { LiteralClient } from '@literalai/client';

  const MY_LITERAL_API_URL = "http://localhost:3000"

  const literalAiClient = new LiteralClient({
    apiKey: YOUR_API_KEY,
    apiUrl: MY_LITERAL_API_URL
  });
  ```
</CodeGroup>

# Update Chainlit

If you are using Chainlit, you will need to update the `LITERAL_API_URL` environment variable to point to your self-hosted platform.
