The Ejento AI Quick-Start Template is a Next.js application that demonstrates how to build AI-powered chat applications using Ejento AI APIs with minimal setup.This guide walks you through the complete setup process to get you up and running quickly.
Prerequisites#
Before you begin, ensure you have the following installed:
Step 1: Join the Ejento AI Ecosystem#
Visit ejento.ai — or your organization's custom deployment if you are already a customer — to create an account or log in.💡 New here?
Follow our Login Guide for detailed instructions on creating and accessing your account.
Step 2: Create Your Agent#
Once you're logged into Ejento AI, create and configure your own agent according to your requirements. The Quick-Start Template requires an active agent to function.
Step 3: Obtain Your API Credentials#
You will need the following credentials from your administrator:1.
Ejento AI API Key (referred to as Ocp-Apim-Subscription-Key)
🔑 Are you an administrator?
Follow the API Keys Guide to retrieve these credentials.
Step 4: Authentication Setup (Optional)#
The Quick-Start Template supports an optional built-in authentication flow. Your setup will differ depending on whether authentication is enabled or disabled.If Authentication Is Enabled#
Users authenticate via the built-in login flow.
The Ejento Access Token is issued automatically after a successful login.
You do not need to manually generate or configure an access token.
If Authentication Is Disabled#
You must manually generate and provide an Ejento Access Token.
Token Expiry
Ejento Access Tokens expire every 7 days. Bookmark the Authentication Guide so you can quickly regenerate tokens or log in again when your requests become unauthorized.
Step 5: Verify Your Credentials#
Before proceeding, confirm you have collected all required credentials based on your setup.Required in All Cases#
| Credential | Description |
|---|
| Base URL | Your Ejento API instance URL |
| API Key | Your Ocp-Apim-Subscription-Key |
| Agent ID | The ID of the agent you created (visible in the agent details) |
Required Only If Authentication Is Disabled#
| Credential | Description |
|---|
| Ejento Access Token | A valid, manually generated authentication token |
Step 6: Clone and Set Up the Template#
2.
Follow the setup instructions in the repository's README, which include:Configuring environment variables
Enabling or disabling authentication
Running the development server
Next Steps#
Once the template is running, you can:Customize the chat interface to match your brand
Enable or disable authentication based on your deployment needs
Integrate additional Ejento AI features using the available APIs
Deploy the application to your preferred hosting platform
Need Help?#
Review the template's README for technical details
Contact support if you encounter any issues
Ready to build?
You have everything you need — let's get started with your AI-powered application!