Skip to content

Installation

Package Manager

Installbash
npm install @spaceinvoices/embed-sdk
# or
yarn add @spaceinvoices/embed-sdk
# or
pnpm add @spaceinvoices/embed-sdk

CDN (Script Tag)

For quick integration without a build step:

CDN Installationhtml

Requirements

  • Entity API key (ek_live_* or ek_sandbox_*)
  • Modern browser (Chrome 80+, Firefox 75+, Safari 13.1+)

Getting an Entity API Key

Entity API keys are scoped to a single entity (business). After signup, create the entity you want to embed first, then generate its key in the Space Invoices app:

  1. Go to Settings → API Keys
  2. Click Create Entity Key
  3. Copy the key starting with ek_live_ or ek_sandbox_

Next Steps

Continue to Quick Start to embed your first view.