Quickstart: Your First Request
This guide will walk you through the essential steps to get your API key and make your first request to the NagaAI API in under five minutes.
Step 1: Get Your API Key
First, you need to get your unique API key. Choose the method that works for you:
- Discord
- Dashboard (Beta)
Join our Discord server to get started.
- Go to the commands channel → #🤖〢commands
- Type the command
/key get
and press Enter. - The bot will send you your API Key (it starts with
ng-
). Copy it.
The NagaAI dashboard is currently in a closed beta. These instructions are for registered beta testers.
- Go to the NagaAI Dashboard.
- Sign up for a new account or log in if you already have one.
- Navigate to the API Keys section in the dashboard menu.
- Click "Create API key".
- Copy the key immediately and save it somewhere secure. For security reasons, you will not be able to see the key again.
Your API key grants full access to your NagaAI account and balance. Treat it like a password. Never share it, expose it in client-side code, or commit it to public repositories.
Step 2: Try the Playground
The easiest way to start exploring NagaAI is through the Playground. It’s a web-based interface where you can test different models and features without writing a single line of code. Here's how to get started:
- Go to https://naga.ac/playground
- Click on Settings (⚙️) in the top right corner of the screen
- Enter your API key that you received earlier
- Explore all the models available to you!
Here is a short video guide on how to set up and use the Playground.
The Playground is perfect for both general users who want to see what the AI can do and for developers who want to quickly prototype and test prompts before integrating them into an application.
Next Steps
Congratulations! You've got your API key and know your way around the Playground. Here’s what you can do next: