LibreChat is an open-source chat application that allows users to interact with AI models in a flexible and customizable environment. It provides a platform to deploy, manage, and run AI-powered chat interfaces, making it suitable for both experimentation and production use.
Follow the steps below so you can quickly get LibreChat running on a cloud server with full functionality, whether for testing purposes or a live application.
Step 1: Create a Docker+ NGINX Server #
First, you need to create a Docker server to deploy LibreChat. Click the โAdd New Serverโ button on the dashboard and enter all the necessary credentials to connect your server. You can deploy LibreChat either on your own server or on an xCloud server.

Next, choose your server provider to deploy LibreChat with xCloud. You can either use an xCloud Managed Server or select your preferred provider. In this guide, weโll use the xCloud Managed Server.

Afterward, enter the โServer Nameโ, set the โApp Typeโ to LibreChat, and add any relevant โTagsโ to help identify your server later.ย

Next, choose between the โGeneralโ and โPremiumโ options based on your requirements. Then, select a plan that best fits your needs.

Next, choose the โRegionโ and โUbuntu Version for your server. You can also enable or disable the Backup option as needed.

Next, you can see the โDocker + NGINXโ stack is already selected, which is mandatory for deploying the LibreChat application.ย Then click on the โCreateโ button to proceed.

Once the server is created, you will be able to deploy your LibreChat Application in this server.
After creating a server, it may take a while to become fully operational. Wait a few minutes before deploying your applications to ensure everything starts correctly.
How to Install LibreChat on a Cloud Server #
Learn how to install LibreChat on a cloud server. It walks you through creating a server, configuring the environment, and launching your LibreChat application easily.
Step 2: Access the One Click Apps Dashboard #
Begin by logging into your xCloud account. Once logged in, navigate to your dashboard and click on the โNew Siteโ button.

ย Then choose your โServerโ from your dropdown and click on the โNextโ button to proceed.ย

This will take you to the site creation interface. From here, select your Server, then navigate to the One-Click Apps section. You will see โLibreChatโ, click on it to proceed with the deployment of this application

Step 3: Set Up the LibreChat Application #
In the site setup screen, you will be prompted to enter basic site information. Provide a โSite Titleโ and add relevant โTagsโ to help organize your deployment.

At this point, you can choose between two deployment modes: โGo Liveโ for a production-ready deployment or โDemo Siteโ for testing purposes. Selecting โGo Liveโ will immediately create a live environment, while choosing โDemo Siteโ allows you to experiment in a staging environment before promoting it to production.

Step 4: Configure Domain Settings #
If you select the โDemo Siteโ option, xCloud will assign a temporary subdomain for your LibreChat application. You can adjust the โSite Userโ according to your preferences, or leave it as the default.

Next, click the toggle on the โEnable Ollamaโ button, then choose the AI models and click โNextโ to proceed. Enabling this option is not mandatory. If you do not enable it, we will display three default AI models. You can also add your preferred models later within the application environment.
However, if you enable Ollama, you will be able to access all available models from here, choose them, and install them at the same time.

Step 4: Visit the LibreChat Application #
With LibreChat set up with xCloud, you should be able to log in and confirm that itโs working. From the dashboard, click on the โVisit Siteโ app.

Environment Editor for LibreChat #
The Environment section in xCloud allows you to customize configuration settings for your LibreChat instance. Just go to the โEnvironmentโ option from the sidebar and adjust as you need, then click on the โSaveโ button.

Manage LibreChat Models #
Later, you can manage your LibreChat application. Go to the โLibreChatโ โ โManagementโ. Next, click on the โAdd New Modelโ to install more AI models. Also, you can click on the โDelete Iconโ to delete the AI models of this application.
Note: You will get access to management only if you enable Ollama

This is how you can deploy LibreChat with xCloud and set up a fully functional AI chat environment. By following the steps in this guide, you can create a Docker + NGINX server, configure your site using One-Click Apps, choose between a live or demo environment, and manage your AI models efficiently. You also have full control over domain settings, environment configurations, and user access.
Once deployed, LibreChat can be customized, scaled, and maintained to meet your specific requirements, providing a reliable platform for AI-powered chat applications. If you encounter any issues, xCloud support is available to assist you in keeping your LibreChat instance running smoothly.
Want to Deploy Different Self-Hosted AI Models? #
If you are looking to deploy other self-hosted AI applications, check out the following documentation:
โ๏ธDeploy OLLAMA application
โ๏ธDeploy OpenWebUI application
If you encounter any issues or have questions during deployment, please contact our support team for assistance.


