Skip to content

Convo SDK

SDK containing all the functions you'll need to build on theconvo.space

🌲 Tree Shaking Supported ✔️
🆓 Side Effect Free ✔️
🪨 Fully TypeScript Compatible ✔️

🤏 Just 8.43kB Minified (1.86kB Minified+GZipped)

Jump to Sample Projects Try it Out

Installation

NodeJs

yarn add @theconvospace/sdk

Browser

<script src="https://cdn.jsdelivr.net/npm/@theconvospace/sdk@latest/dist/bundle.min.js"></script>

Setup

  1. Generate and Copy an API key from https://theconvo.space/dashboard/developer/
  2. Import Convo in your own project.
    import { Convo } from '@theconvospace/sdk';
    // or
    import { Convo } from 'https://esm.run/@theconvospace/sdk';
    // or
    const { Convo } = require('@theconvospace/sdk');
    
  3. Setup an new instance of Convo using
    const convo = new Convo("apikey")
    
    Replace apikey with your newly generated key.

Sample Projects

  1. NextJS/React Sample Project
    Code | Demo - convosdk-examples-nextjs.vercel.app

  2. Browser (Vanilla JS) Sample Project
    Code | Demo - convosdk-examples-browser.vercel.app

Comments