Quickstart
Prerequisites
Section titled “Prerequisites”- Docker and Docker Compose v2+
- Git
Docker Compose (Recommended)
Section titled “Docker Compose (Recommended)”-
Clone the repository
Terminal window git clone https://github.com/JINA-CODE-SYSTEMS/jina-connect-unified-cpaas.gitcd jina-connect-unified-cpaas -
Create your
.envfileTerminal window cp .env.example .envAt minimum, set these values:
SECRET_KEY=your-random-secret-key-hereFIELD_ENCRYPTION_KEY=your-fernet-key-hereDEBUG=TrueGenerate a Fernet key for
FIELD_ENCRYPTION_KEY:Terminal window python3 -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())" -
Start all services
Terminal window docker compose up -dThis starts:
Service Port Description web8000 Daphne ASGI server db5432 PostgreSQL 15 redis6379 Redis 7 (broker + channels) celery— Background task worker celery-beat— Periodic task scheduler -
Run migrations (auto-runs on container start, or manually)
Terminal window docker compose exec web python manage.py migrate -
Create a superuser
Terminal window docker compose exec web python manage.py createsuperuser -
Access the platform
URL Description http://localhost:8000/admin/Django Admin http://localhost:8000/swagger/Swagger API Docs http://localhost:8000/redoc/ReDoc API Docs http://localhost:8000/version/Version info
Local Development (Without Docker)
Section titled “Local Development (Without Docker)”-
Clone and set up Python
Terminal window git clone https://github.com/JINA-CODE-SYSTEMS/jina-connect-unified-cpaas.gitcd jina-connect-unified-cpaaspython3.12 -m venv venvsource venv/bin/activatepip install -r requirements.txt -
Install system dependencies
Terminal window brew install postgresql@15 redisbrew services start postgresql@15brew services start redisTerminal window sudo apt install postgresql-15 redis-serversudo systemctl start postgresql redis -
Create database
Terminal window createdb jc6 -
Configure environment
Terminal window cp .env.example .env# Edit .env — set SECRET_KEY, FIELD_ENCRYPTION_KEY, DB_* values -
Run migrations and start
Terminal window python manage.py migratepython manage.py createsuperuserpython manage.py runserver -
Start Celery worker (separate terminal)
Terminal window celery -A jina_connect worker -l info -
Start Celery Beat (separate terminal)
Terminal window celery -A jina_connect beat -l info
First Steps After Setup
Section titled “First Steps After Setup”1. Create a Tenant
Section titled “1. Create a Tenant”Go to http://localhost:8000/admin/ and create a Tenant with a name and industry.
2. Get an API Key
Section titled “2. Get an API Key”Create a TenantAccessKey in the admin panel. This key is used for API auth and MCP tool access.
3. Get a JWT Token
Section titled “3. Get a JWT Token”curl -X POST http://localhost:8000/token/ \ -H "Content-Type: application/json" \ -d '{"email": "admin@example.com", "password": "your-password"}'4. Explore the API
Section titled “4. Explore the API”Open http://localhost:8000/swagger/ to see all available endpoints, or head to the API Reference.
What’s Next?
Section titled “What’s Next?”- Architecture Overview — Understand the system design
- Channel Adapters — How multi-provider messaging works
- MCP Server Setup — Connect AI agents to your platform