Skip to content

Getting started

Create an account and make your first API call with the Acme SDK.

Getting started#

This guide walks you through creating an Acme account, installing the SDK, and verifying your setup.

Prerequisites#

  • Node.js 20 or later
  • An Acme account (sign up)

Install the SDK#

pnpm add @acme/sdk

Configure your API key#

import { createClient } from "@acme/sdk";

const client = createClient({
  apiKey: process.env.ACME_API_KEY!,
});

TIP

Store API keys in environment variables — never commit them to version control.

Verify the connection#

const { ok } = await client.ping();
console.log(ok ? "Connected" : "Failed");

Next steps#