Getting Started
Set up your SensAI account, obtain API credentials, and make your first request to the AI Agent Studio.
Prerequisites
Before you begin, make sure you have the following:
- A SensAI account — sign up at sensai.jmrinfotech.com/sign-up
- An API key (generated from your dashboard after signing in)
- A REST client such as cURL, Postman, or any HTTP library in your preferred language
Step 1: Create Your Account
Navigate to the SensAI sign-up page and create your account. SensAI uses Better-Auth for secure session-based authentication, so you can sign in with your email and password or use a supported OAuth provider.
Once your account is created, you will be redirected to the dashboard where you can generate your first API key.
Step 2: Generate an API Key
From your dashboard, navigate to Settings > API Keys and click Create New Key. Give your key a descriptive name (e.g., "Development" or "Production") and copy it immediately — API keys are only shown once.
Store your key securely and never expose it in client-side code or public repositories.
Key Security Recommendations
Treat your API key like a password. Use environment variables or a secrets manager to store it in your application, and rotate keys periodically to reduce the risk of unauthorized access. If you suspect a key has been compromised, revoke it immediately from the dashboard and generate a new one.
Step 3: Make Your First Request
Use the following cURL command to verify your setup by calling the health endpoint:
curl -X GET https://api.sensai.jmrinfotech.com/api/v1/healthIf the API is running, you will receive a response confirming the service status. Next, try listing available models:
curl -X GET https://api.sensai.jmrinfotech.com/api/v1/chat/models \
-H "Authorization: Bearer YOUR_API_KEY"Next Steps
Now that your account is set up, explore the API Reference for detailed endpoint documentation or jump into the Guides to learn how to work with agents and integrate chat into your applications.
Recommended Learning Path
Start with the API Reference to understand the available endpoints and authentication flow, then move on to the Agents guide to learn how to configure and deploy your first agent. Once you are comfortable with the basics, the Chat Integration guide will show you how to build real-time conversational interfaces powered by SensAI.