---
title: "Get started with Server API"
description: Learn how to get started with the B2B Ninja REST API.
---

This document is going to give you a guide on how to interact with the B2BNinja Server API. Understanding [REST APIs](https://en.wikipedia.org/wiki/Representational_state_transfer) and [JSON](https://en.wikipedia.org/wiki/JSON) is necessary to use this API effectively.

First step is to make sure your account has API Access. Our Enterprise plan includes API access, and we have an Add-On available for the Black Belt plan.

## Create an API Token

1. Go to [API Settings Page](https://app.b2bninja.com/auth/store-selector?redirect_to=settings/api)
   <img
     src="/screenshots/API-Settings-Quote-Ninja.png"
     alt="B2B Ninja - API Settings Page"
   />
2. Create a New Token & Apply Changes
   <img
     src="/screenshots/Create-New-Token.png"
     alt="B2B Ninja - API Settings Page"
   />
3. Make sure you have [CURL](https://curl.haxx.se/) installed on your computer

## Use the REST API

Base URL

```
https://api.b2bninja.com/v3/bc/public
```

Request Headers

```
x-auth-client: {YOUR STORE_ID}
x-auth-token: {{YOUR AUTH TOKEN}}
```

## Or use Zapier Integration

- Add B2B Ninja integration to your zapier account: [click here](https://zapier.com/developer/public-invite/104837/f3fd40a5b8f46cf798609a54775e3364/)
- Use the Store ID
- Use the Token
