Skip to main content

Deploy with an agent

Copy agent prompt

Before you start

Connect your AWS account using the Spring Winter quickstart. You need mongoDB and any search, upload or retrieval services enabled in the release. Check the upstream deployment instructions and pin a release before you deploy. Source repository.

Data dependencies

Provision MongoDB before starting LibreChat, then set MONGO_URI in Runtime variables. Add a separate database for retrieval only if your chosen release and features require it.

Configure the deployment

  1. Select a Spring Winter project in the AWS Region you want to use. Use a web server for the HTTP app and configure dependencies before you start it.
  2. Use the release’s Compose stack as a component inventory.
  3. Run the LibreChat HTTP app on its configured port, commonly 3080, and set MONGO_URI to a reachable MongoDB service.
  4. Provision Meilisearch if you want message search and add retrieval services only when needed.
  5. Supply provider credentials securely, configure signup policy and give uploads durable storage if enabled.
When you run the HTTP app on Spring Winter, set a health path that returns HTTP 200 without signing in. Use Runtime variables for runtime configuration. Task storage is temporary. Verify that every file you need after replacement goes to durable storage.

Verify the deployment

Check the deployment in History if you created Spring Winter compute. Wait for the workflow to succeed, then test the application over HTTPS. Sign in, send a harmless test message and verify conversation persistence. Test search or uploads only if you enabled them.