2023-12-22 08:36:42 -05:00
---
title: 🔎 Meilisearch in Render
2023-12-28 17:10:06 -05:00
description: Setup Meilisearch on Render (for use with the Render deployment guide)
2023-12-22 08:36:42 -05:00
weight: -3
---
2023-09-22 08:25:49 -03:00
# Utilize Meilisearch by running LibreChat on Render
## Create a new account or a new project on Render
2023-12-28 17:10:06 -05:00
**1.** Visit ** [https://render.com/ ](https://render.com/ )** and click on `Start Free` to create an account and sign in
2023-09-22 08:25:49 -03:00
**2.** Access your control panel
**3.** Select `New` and then `Web Service`
2023-10-16 13:35:37 -04:00

2023-09-22 08:25:49 -03:00
**4.** Add `https://github.com/itzraiss/Meilisearch` to the public repositories section and click `continue`
2023-10-16 13:35:37 -04:00

2023-09-22 08:25:49 -03:00
**5.** Assign a unique name and proceed with the free option and click on the `create web service` button at the bottom of the page
2023-10-16 13:35:37 -04:00

2023-09-22 08:25:49 -03:00
## Click on Advanced to add Environment Variables
2023-10-16 13:35:37 -04:00

2023-09-22 08:25:49 -03:00
## Add the Environment Variables
**1.** To manually add the `Environment Variables`
- You need to use `Add Environment Variables` and add them one at a time, as adding a secret file will not work in our case.
2023-10-16 13:35:37 -04:00

2023-09-22 08:25:49 -03:00
**2.** You need to enter these values:
| Key | Value |
| --- | --- |
| MEILI_HOST | http://meilisearch:7700 |
| MEILI_HTTP_ADDR | meilisearch:7700 |
2024-01-12 18:14:42 -05:00
| MEILI_MASTER_KEY | Create a 44 character alphanunmeric key |
2023-09-22 08:25:49 -03:00
| MEILI_NO_ANALYTICS | true |
**Deployment**
**1.** Everything is set up, now all you need to do is click on 'Create Web Service'. This will take a few seconds
2023-10-16 13:35:37 -04:00

2023-09-22 08:25:49 -03:00
**3.** Once it's ready, you'll see `your service is live 🎉` in the console and the green `Live` icon at the top
2023-10-16 13:35:37 -04:00

2023-09-22 08:25:49 -03:00
**Get URL Address**
Once you get the message: `your service is live 🎉` , copy the URL address of your project in the top left corner of Render:
2023-10-16 13:35:37 -04:00

2023-09-22 08:25:49 -03:00
## In LibreChat Project
Now, insert the below environment variable values into your LibreChat project (Replace MEILI_HOST by adding the URL address of your Render's Meilisearch project that you copied):
2024-01-12 18:14:42 -05:00
| Key | Value |
| --- |---------------------------------------|
| MEILI_HOST | Your Render project's Meilisearch URL |
| MEILI_HTTP_ADDR | meilisearch:7700 |
| MEILI_MASTER_KEY | Use the key created for Meilisearch |
| MEILI_NO_ANALYTICS | true |
| SEARCH | true |
2023-09-22 08:25:49 -03:00
2023-10-16 13:35:37 -04:00

2023-09-22 08:25:49 -03:00
## Deployment
**1.** Now, click on `Manual Deployment` and select `Clear build cache & Deploy` . It will take a few minutes
2023-10-16 13:35:37 -04:00

2023-09-22 08:25:49 -03:00
**3.** Once it's ready, you'll see `your service is live 🎉` in the console and the green `Live` icon at the top
2023-10-16 13:35:37 -04:00

2023-09-22 08:25:49 -03:00
## Conclusion
Now, you should be able to perform searches again, congratulations, you have successfully deployed Meilisearch on render.com
2024-02-19 09:42:57 -05:00
### Note: If you are still having issues, before creating a new issue, please search for similar issues on our [#issues thread on our discord](https://discord.librechat.ai) or on our [troubleshooting discussion](https://github.com/danny-avila/LibreChat/discussions/categories/troubleshooting) on our Discussion page. If you cannot find a relevant issue, feel free to create a new one and provide as many details as possible.