Quickstart Tutorial

Welcome to the Kortana developer platform. Follow this guide to install the SDK, configure your credentials, and send your first transaction on our network.

1. Get your API Credentials

Before writing any code, log into the Kortana Console. Under the Developers section, register a new workspace, generate your API credentials, and copy your private key.

2. Install the SDK

Install our zero-dependency SDK package using your package manager of choice:

npm install @kortana/sdk

3. Initialize the Client

Configure the client instance using your API key and set the environment target to sandbox:

import { KortanaClient } from '@kortana/sdk';

const client = new KortanaClient({
  apiKey: process.env.KORTANA_API_KEY, // Retrieve from https://console.kortana.network
  environment: 'sandbox' // 'sandbox' or 'mainnet'
});

Next Steps

You are now ready to make calls to other APIs. Check out our Payment Integration Guide to learn how to create transaction intents and checkouts.