Installing ChromaDB

ChromaDB is a high-performance vector database designed to store and search large volumes of AI-processed text efficiently. While m-Power includes a built-in vector database suitable for testing and smaller documents, mrc strongly recommend installing ChromaDB when deploying your AI Assistants and Content Retrievers in a production environment. ChromaDB is optimized for larger files, multiple uploads, and faster search performance — making it the preferred choice for live environments where accuracy and reliability are essential.

Windows Installation

Follow these steps to install ChromaDB on Windows:

  1. Download and Extract:
  2. Install Python:
    • Download the Python installer here.
      (Note: Python 3.13 is the supported version for ChromaDB.)
    • Move the .exe to C:\ChromaDB.
    • Right-click the installer and choose “Run as Administrator”.
    • Check “Add to PATH” and “Use admin privileges”.
    • Choose “Customize Install”, keep defaults, and set install path to:
      C:\ChromaDB\Python313
  3. Install ChromaDB:
    • Open Command Prompt as Administrator.
    • Type: pip install chromadb
  4. Verify Configuration:
    • Edit C:\ChromaDB\Chroma-DB-Service.xml.
    • Verify the Python path (line 6) matches the install location from step 2.
    • Change the port (line 7) if port 8000 is already in use.
  5. Install Windows Service:
    • Open Command Prompt as Administrator.
    • Type: cd C:\ChromaDB
    • Type: Chroma-DB-Service.exe install
  6. Start and Verify Service:
    • Start the ChromaDB service from Windows Services.
    • If it stops or fails, check logs in C:\ChromaDB\logs.
    • Open http://localhost:8000/docs to confirm ChromaDB is running.

Configure m-Power

Once ChromaDB is installed and running, configure m-Power to use it as the vector database:

  1. Open the following file:
    /m-power/mrcjava/WEB-INF/classes/mrc-runtime.properties
  2. Add the following lines:
    embedding_store_type=chroma
    chroma_url=http://localhost:8000
  3. Save the file and restart Tomcat.

Be sure to promote this mrc-runtime.properties file to your production environment when deploying.

Troubleshooting

If the ChromaDB service fails to start or stops unexpectedly:

  • Check the logs at C:\ChromaDB\logs for detailed error messages.
  • Ensure port 8000 is not already in use by another service.
  • Confirm the Python path in C:\ChromaDB\Chroma-DB-Service.xml is correct.
  • Verify ChromaDB was installed successfully by running: pip show chromadb

If issues persist, reinstall Python and ChromaDB following the steps above.

Linux Installation

Follow these steps to install ChromaDB on Linux:

  1. Install Docker: yum install docker
  2. Install ChromaDB: docker pull chromadb/chroma
  3. When prompted, choose: docker.io/chromadb/chroma
  4. Start ChromaDB: docker run -p 8000:8000 chromadb/chroma
  5. Configure m-Power by following the steps above.
Updated on November 6, 2025

Was this article helpful?

Related Articles

Need Support?
Can’t find the answer you’re looking for? Don’t worry we’re here to help!
Contact Support