Strapi
Prefer guided AI setup?
Instead of following these steps manually, you can use the AI Credential Assistant — describe what you want to connect and the AI will walk you through the setup step by step, tailored to your account.
Overview
Connect your Strapi headless CMS to Nirvai to automate content management and manage your API collections.
Supported Authentication Methods
- API Token - Admin-generated token (recommended)
- User Account - Email/password authentication
Prerequisites
- A Strapi project (cloud or self-hosted)
- Admin access to generate API tokens
Setup Instructions
API Token (Recommended)
Step 1: Create API Token
- Log in to your Strapi admin panel
- Go to Settings > Global Settings > API Tokens
- Click Create new API token
- Configure token settings:
- Name: Give it a descriptive name
- Type: Select access level (Read-only or Full access)
- Duration: Set expiration (or unlimited)
- Click Save and copy the token
Step 2: Get Your Strapi URL
- Strapi Cloud:
https://your-project.strapiapp.com - Self-hosted: Your server URL (e.g.,
https://api.example.com)
Step 3: Configure in Nirvai
- In Nirvai, select Strapi API Token
- Enter your Strapi URL
- Select API Version (v4 for Strapi 4+)
- Paste your API Token
- Save the credential
API Versions
| Version | Strapi Version | URL Format |
|---|---|---|
| v4 | Strapi 4.x | /api/... |
| v3 | Strapi 3.x | /... |
Available Operations
With Strapi credentials, you can:
- Create, read, update, delete content
- Manage collection types
- Access media library
- Handle relations between content
Token Types
| Type | Access Level |
|---|---|
| Read-only | GET requests only |
| Full access | All CRUD operations |
| Custom | Selected permissions |
Troubleshooting
Common Issues
- 401 Unauthorized: Token is invalid or expired
- 403 Forbidden: Token lacks required permissions
- Wrong API Version: Check your Strapi version
- URL Error: Ensure correct URL without trailing slash
Permission Issues
If you see "API tokens" is not available:
- Your account needs "API tokens > Read" permission
- Contact your Strapi admin
Related Resources
Adapted from n8n documentation for Nirvai platform
Next Steps
Got your credential? Connect it to an agent
Use the AI Tool Creator to turn this credential into agent-callable tools. Describe what your agent should be able to do and the AI investigates the API, configures the endpoints, and gives you a reviewable toolkit before saving anything.