Moyo
Sign inGet started
SDK

moyo.init

Initialise the web SDK when not using the script tag.

js
import { moyo } from "@moyo/web";

moyo.init({
  key: "pk_live_your_key",
  locale: "en",
  container: document.body
});
keystring
Publishable key. Required.
localestring
Language for questions. Defaults to the browser language.
containerHTMLElement
Where the card mounts. Defaults to document.body.
avoidstring[]
CSS selectors the card must not cover, such as your main action bar.