Quick Start
Now that you have Nous installed and running, this guide will walk you through the initial setup, creating your first tenant, and making API calls.
1. Initial Setup
Section titled “1. Initial Setup”Create Super Admin
Section titled “Create Super Admin”- Navigate to the Web Dashboard at http://localhost:5173.
- Since this is your first time accessing the system, you will be automatically redirected to the Setup page.
- Create your Super Admin account by providing an email and password.
Once the admin account is created, you will be redirected to the login page. Log in with your new credentials.
2. Create a Tenant
Section titled “2. Create a Tenant”As a Super Admin, your primary role is to manage tenants (organizations or workspaces).
- After logging in, you will be on the Tenants Management page (
/tenants). - Click the “Create Tenant” button.
- Fill in the details for the new tenant and its administrator:
- Tenant Name (e.g., “My Organization”)
- Admin Email (for the tenant admin)
- Admin Password
- Click Create Tenant. This creates the organization and its first admin user simultaneously.
3. Generate an API Key
Section titled “3. Generate an API Key”To use the Nous API programmatically, you need an API key.
- Log out of the Super Admin account.
- Log in using the Tenant Admin credentials you just created (the email and password from step 2).
- Navigate to the API Keys section (
/api-keys) using the sidebar. - Click “Create API Key”.
- Give your key a name (e.g., “Development Key”).
- Copy the key immediately. You won’t be able to see it again.
4. Use the API
Section titled “4. Use the API”With your API Key, you can now interact with the Nous brain. The API is available at http://localhost:8000.
Assimilate Information (Write)
Section titled “Assimilate Information (Write)”The assimilate endpoint allows you to feed text into the knowledge graph. Nous will extract facts and associate them with an entity identified by an external identifier (like email).
curl -X POST "http://localhost:8000/api/v1/graph/entities/assimilate" \ -H "X-API-Key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "identifier": { "type": "email", "value": "alice@example.com" }, "content": "Alice is a software engineer living in New York. She works at TechCorp and loves hiking." }'Lookup Information (Read)
Section titled “Lookup Information (Read)”The lookup endpoint allows you to retrieve entity information using an identifier (e.g., email, phone).
curl -X GET "http://localhost:8000/api/v1/graph/entities/lookup?type=email&value=alice@example.com" \ -H "X-API-Key: YOUR_API_KEY"You can also use semantic search with the rag_query parameter:
curl -X GET "http://localhost:8000/api/v1/graph/entities/lookup?type=email&value=alice@example.com&rag_query=Where%20does%20Alice%20work" \ -H "X-API-Key: YOUR_API_KEY"Explore the Graph
Section titled “Explore the Graph”Back in the Web Dashboard, you can visualize the data you just added:
- Go to the Graph Explorer (
/graph). - You should see nodes representing “Alice”, “TechCorp”, “New York”, etc., and the relationships connecting them.
Next Steps
Section titled “Next Steps”- Read the Deployment Guide to learn how to deploy Nous to production.
- Check out the full API Documentation (Swagger UI).