Requirements
Services running
A fully operational Prisme.ai environment is required, including both open-source and private microservices.- Core namespace
- Apps namespace
The following microservices must be running:
prismeai-api-gatewayprismeai-consoleprismeai-pagesprismeai-workspacesprismeai-eventsprismeai-runtime
Offline environments
If the installation environment does not have access to internet, ensure that the following prerequisites are always met :- If using app microservices, prismeai-functions need access to a NPM registry. If the default https://registry.npmjs.org/ is not available, you must configure your own npm registry using NPM_CONFIG_REGISTRY environment variable inside prismeai-functions microservice
- Depending on your NPM proxy, it might require additional configuration for authentication
- If using internal / self-signed TLS certificates, they must be configured inside almost all microservices to avoid HTTPS errors
- prismeai-searchengine and prismeai-crawler are Python microservices : once mounted, the certificate file location can be configured with REQUESTS_CA_BUNDLE prismeai-llm does not need the custom certificate
- Every other prismeai-* services are NodeJS : once mounted, the certificate file location can be configured with NODE_EXTRA_CA_CERTS
Platform Readiness
Before proceeding with the AI Products installation, verify that the platform is healthy using the Readiness API. All core services must report aready status:
"status": "ready" for all services. If any service reports errors, resolve them before continuing with the installation.
Hardware
Minimum Requirements
- 8 CPU cores
- 16GB RAM
- 100GB storage
- Suitable for testing and small-scale deployments
Recommended Requirements
- 16+ CPU cores
- 64GB+ RAM
- 250GB+ storage
- Suitable for production deployments
Hardware requirements may vary depending on your specific usage patterns, the number of concurrent users, and the amount of data processed.
Storage
Database Storage
Database Storage
We recommend using:
- MongoDB: For applications collections
- Vector Database: one of Opensearch (recomended) or Redis Stack (with JSON and SEARCH modules)
File Storage
File Storage
prismeai-functions and prismeai-llm microservices require a RWX volume with at least 50GB and attached to a Kubernetes PVC.Configuration Requirements
Several environment variables must be configured in the prismeai-runtime microservice to ensure proper functioning of installed Apps. If your deployment uses custom API ports modified by a container orchestrator or configuration, you’ll need to adapt these values accordingly.Environment Variables
Custom Code
Custom Code
Environment variables in prismeai-runtime :Where
FUNCTIONS_HOST refers to the domain from which the prismeai-runtime microservice can reach prismeai-functions.Collections
Collections
Environment variables in prismeai-runtime :Corresponding helm values in prismeai-runtime :Where
MONGO_HOST should be replaced with the host that allows the prismeai-runtime microservice to connect to MongoDB (e.g., mongo if prismeai-runtime and mongo are launched from the same docker-compose).Crawler
Crawler
Environment variables in prismeai-runtime :Where
SEARCHENGINE_HOST is the domain from which prismeai-runtime can reach prismeai-searchengine.NLU
NLU
Environment variables in prismeai-runtime :Where
NLU_HOST is the domain from which prismeai-runtime can reach prismeai-nlu.The NLU App is not required for the operation of AI Products, but provides advanced intent recognition capabilities if needed.
SendMail
SendMail
Environment variables in prismeai-runtime :
The SendMail App is currently compatible only with MailGun. It remains optional and is not required for the proper functioning of the AI products.
AI Products Initialization Process
Once you’ve confirmed that all prerequisites have been met, you can proceed with importing the Prisme.ai App Store and associated product workspaces. The initialization process uses the Platform workspace bulk import to import workspace groups in the correct sequence, verifying functionality after each step.The bulk import is performed from the Platform workspace, which is only accessible to super admins. Ensure you have super admin access before proceeding.
Importing Workspace Groups
Each group is imported using the Platform workspace’s bulk import feature. For each group:- Open the Platform workspace
- Navigate to Versioning > Pull a version
- Select the “Release vXXX” platform repository
- Select the group to import and start the import
- Monitor the progress from the Activity feed of the Platform workspace
- Wait for the
workspaces.bulkImport.completedevent to appear - Verify the event contains no errors before proceeding to the next group
Group base1: Base Apps
This group contains foundational apps required by many other components.Key Components
Custom Code
Enables execution of custom JS/Python codeRequires the functions microservice to be online and configured
Prisme.ai API
Enables API calls to Prisme.ai from Automations (YAML files)
Verification Tests
After importing the first group, run these tests to verify functionality :Testing Custom Code
Testing Custom Code
- Create a test workspace
- Install the
Custom CodeApp in your test workspace - Create a new function named
hellowith the following code:
- Test the function using the green play button
- Verify that the
node-fetchpackage has been properly installed and that you receive the expected website response without any import or internal errors
Group base2: Extended Base
This group contains extended base applications that build upon the first group.Key Components
Crawler
Web page indexing & search engineRequires the crawler and searchengine microservices
NLU
NLU engineRequires the nlu microservice
RedisSearch
Interface with the redis-stack-server database, only used by Redis RAG database
Verification Tests
After importing the second group, run this test to verify crawler functionality :Testing Crawler
Testing Crawler
- Open the Crawler/Crawl page automation and run it with the top-right corner play button
- Open the Activity tab and regularly reload it until you see Crawler.notifications event has been fired
- If this never occurs, check prismeai-crawler container logs (apps namespace) to resolve issues
- Open the Crawler/Search page automation and run it
- Verify that you receive the freshly indexed page result
Group extended: AI Products
This final group contains the main Prisme.ai AI products and is larger than the previous groups. Several new workspaces should appear when you refresh the page after the import completes.Post-Import Configuration
After successfully importing all three groups, you need to proceed with the configuration of each AI Product to complete the setup process. It is advised to configure the products in the following minimum order :- Configure AI Governance
- 1st, Generate a long-term token
- Configure the
adminAccessTokensetting - Configure the Ops Manager and upgrade the
corehelm deployment
- Configure super admins
- The AI Governance shortcut has appeared, elect a PlatformAdmin and PlatformManager
- Configure LLM providers
- In the AI Builder > AI Knowledge > Settings section
- Create an AI SecureChat agent
- Finally, add this agent as a left-menu shortcut in the AI Governance > Products and Workspaces > Shortcuts section
Troubleshooting
If you encounter issues during the initialization process, here are some common problems and their solutions:Custom Code Issues
Custom Code Issues
Several critical AI products and Apps (including AI Knowledge) are built on Custom Code. If issues arise:
- Monitor the logs of the
prismeai-functionsservice - Look for these error messages:
Failed npm installDependencies are still being installed fromSome dependencies are missingTimeoutErrorFailed running function
- If a dependency is missing or still being installed after several minutes, re-save the Custom Code App for the affected workspace from the studio. This will prompt
prismeai-functionsto restart the installation (Installing N modules...). - If the issue concerns functions of an App (indicated by the
app.prefix in the logs), you’ll need to re-publish the App.
Import Errors
Import Errors
If the bulk import reports errors in the
workspaces.bulkImport.completed event:- Check the
errorsfield in the event payload for details on which workspaces failed - Individual workspace import errors can also be checked in the
workspaces.importedevent emitted in each workspace’s activity feed - Common causes include slug conflicts (a workspace with the same slug already exists) or missing dependencies (a required group was not imported first)
- Resolve the errors and re-import the group — workspaces already up to date will be skipped automatically.
Microservice Connectivity
Microservice Connectivity
If tests fail due to connectivity issues:
- Run the Readiness API to identify which services or dependencies are failing
- Ensure all required microservices are running
- Verify that the environment variables are correctly set
- Look at the logs of all services