> For the complete documentation index, see [llms.txt](https://docs.nexaharbor.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nexaharbor.com/quick-start.md).

# Quick Start

## Quickstart Guide

Start using NexaHarbor API effortlessly! Follow this guide to integrate our services seamlessly into your application.

### Prerequisites

Ensure you have the following before starting:

* NexaHarbor account
* Access to the dashboard at `app.nexaharbor.com`
* Basic knowledge of REST APIs

### 1. Obtain Your API Key

#### Access the Dashboard

1. Log in to [app.nexaharbor.com](https://app.nexaharbor.com).
2. Go to the API section in your dashboard.
3. Click "Generate New API Key".

#### Set Permissions

Choose the necessary permissions while generating your key:

```javascript
Available Permissions:
- 'read:transactions'     // Basic transaction reading
- 'purchase:utilities'    // Airtime and data purchases
- 'prediction:markets'    // Prediction market features
- 'ai:chat-services'      // AI chat routing and models
- '*'                     // Full access to all features
```

⚠️ **Important**: Secure your API key! It is displayed only once.

### 2. Authentication

Include your API key in the Authorization header for all requests:

```bash
Authorization: Bearer YOUR_API_KEY
```

#### Base URL

Send all API requests to:

```
https://api.nexaharbor.com/api/v1
```

#### Sample Request

Make an authenticated API request as follows:

```bash
curl -X GET \
  'https://api.nexaharbor.com/api/v1/addresses/wallet123' \
  -H 'Authorization: Bearer YOUR_API_KEY'
```

### 3. Execute Your First API Call

Test your API key with a basic call:

```bash
curl -X GET \
  'https://api.nexaharbor.com/api/v1/test' \
  -H 'Authorization: Bearer YOUR_API_KEY'
```

Successful response example:

```json
{
  "status": "success",
  "message": "API connection successful",
  "version": "1.0"
}
```

### Next Steps

Connected successfully! Now you can:

* Explore our \[API Reference] for detailed documentation.
* View our \[Integration Guides] for common scenarios.
* Join the \[Developer Community] for assistance.
* Follow our \[Best Practices] for optimal usage.

### Need Help?

* 📧 Email our support team.
* 💬 Join our Discord community.
* 📚 Browse our FAQ section.

***

*Next: API Reference →*
