Skip to main content

Getting Started


If integrating directly into your JavaScript frontend, our Client Library simplifies the process.

// yarn
yarn add @segna/segna-sdk

// npm
npm i @segna/segna-sdk

Import the library and initialize with your API Key, which can be found in your Account Settings.

import segna from '@segna/segna-sdk';

segna.initialize({apiKey: '<YOUR_API_KEY>'});


If you want to use Segna from elsewhere (such as backend or even CL), you can hit our Public APIs directly!