Skip to main content
Quick Integration Example
Note: The sample code below is just an example. Never generate tokens on the frontend — doing so can expose your credentials. Always generate tokens securely on your backend and pass them to your app as needed.
Visit our npm package page for the latest version and detailed API documentation.

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:
Don’t have credentials? Contact FrankieOne Support to get started.
2

Get OneSDK on your Web App

Our SDK supports two integration methods to fit your development workflow, using CDN and NPM.
Use this method if you’re working with plain HTML/JavaScript or as a fallback if you’re having issues with NPM integration.Just include the following script tag in your HTML file: