This is an application showcasing how you can implement Importing Content and Files into a knowledge base using Integration.app. The app is built with Next.js/React.
- Node.js 18+
- Integration.app workspace credentials (Workspace Key and Secret). Get credentials from the workspace settings.
- MongoDB connection string (We provide a docker-compose file to spin up a local MongoDB instance. See Using mongodb via Docker for more details.)
- AWS credentials (for S3)
npm install
# or
yarn install
# Copy the sample environment file
cp .env-sample .env
Note: The following credentials are optional but enable additional features:
- AWS S3: Enables file download and storage in S3
- Unstructured.io: Enables text extraction from PDFs, Word documents, and other file formats
This application relies on predefined flows, actions, and other primitives, all organized within a Scenario template
To use the same flows and actions in your workspace, navigate to the Continuously Import Content to My App Scenario and click the "Add to App" button. This will add the required flows and actions, data sources and other primitives to your workspace.
The Continuously Import Content to My App Scenario adds 8 apps to your workspace and for most apps to work, you'll need to provide configuration parameters. The configuration guide for each apps explains how to get the credentials needed. See video below for an overview of the configuration process:
dem0-new.mp4
npm run dev
# or
yarn dev
Open http://localhost:3000 in your browser.
- Docker and Docker Compose installed on your machine
If you want to use MongoDB via Docker, you can do so by running the following command:
docker-compose up
You can now use the MONGODB_URI
environment variable to connect to the database:
MONGODB_URI=mongodb://admin:password123@localhost:27017/knowledge
- Get events working for all apps
MIT