Back to Guides
5 min read

Getting Started

Set up your CoverKit account and make your first API call in under 5 minutes.

Step 1: Create Your Account

Visit the CoverKit dashboard to create your account. You'll get immediate access to the sandbox environment for testing.

Step 2: Get Your API Keys

After signing up, navigate to the API Keys section in your dashboard. You'll find two types of keys:

  • Sandbox keys (sk_sandbox_...) - For testing and development
  • Production keys (sk_live_...) - For live transactions

Important: Never expose your API keys in client-side code. Always make API calls from your server.

Step 3: Install the SDK

Install the CoverKit SDK for your preferred language:

JavaScript/TypeScript
npm install @coverkit/sdk
Python
pip install coverkit
Go
go get github.com/coverkit/coverkit-go

Step 4: Make Your First API Call

Initialize the SDK and create your first quote:

import { CoverKit } from '@coverkit/sdk';

const coverkit = new CoverKit({
  apiKey: process.env.COVERKIT_API_KEY,
  environment: 'sandbox',
});

// Create a quote
const quote = await coverkit.quotes.create({
  product: 'shipping_protection',
  coverage: {
    itemValue: 5000, // $50.00 in cents
  },
});

console.log('Quote created:', quote.id);
console.log('Premium:', quote.premium);

Step 5: Test in Sandbox

Use the sandbox environment to test your integration without processing real transactions. Sandbox supports:

  • Test credit card numbers
  • Simulated policy lifecycle
  • Mock claim processing
  • Webhook testing

Next Steps