Generate API Key
Sign up on our developer console and create a new API key
Installation
Prerequisite: Please install Node.js (version 20 or higher) before proceeding.
npm install --save nfig-sdk
# or
yarn add nfig-sdk
Send your first request
import { NfigClient } from 'nfig-sdk';
(async ()=>{
const nfig = new NfigClient({
apiKey: "YOUR_API_KEY",
});
await nfig.createSession()
const response = await nfig.act("Go to google.com")
}())
Please find the Nfig SDK NPM Package here.