OneSDK Quickstart Guide

OneSDK provides two implementation approaches to match your technical requirements and customization needs.

Technical Requirements

Frontend Knowledge
  • Frontend frameworks (React, Vue, Angular)
  • NPM
Dev Environment
  • Node.js 18+
  • TypeScript 5+

Getting Started

Always use environment-specific credentials and never commit API keys to version control.

1

Obtain Your Credentials

You’ll need the following for both UAT and Production:

- Customer ID
- API Keys

Don’t have credentials? Contact FrankieOne Support to get started.

2

OneSDK CLI

Install

$npm install @frankieone/one-sdk

Run the CLI!

$npx onesdk-cli --generate --preview

On OneSDK CLI, you’ll be prompted with the following:

  1. Select environment mode (dev, qa, uat, prod)
  2. Enter credentials (Customer ID, [OPTIONAL] Customer Child ID, Api Key)
  3. Select the flow
  4. Generate the html code