A simple example of how to Embed the Embeddable.com Web Component in your website. There are currently 5 examples in this repository:
- HTTP server with html response
- simple React.js example
- React.js using "Create React App"
- Angular
- Vue
Also includes a simple node server that uses the tokens API.
Most examples require Node.js version 20 or newer to be installed.
- clone or download this repository
- choose an example, and follow the README file contained in it
Two examples, client-react and client-vue, require the
token server included in this repository to be running.
- click "Publish" on your Embeddable dashboard to get your
API_KEY - update
token-server/.envto use yourAPI_KEY, and optionally set theUSER_KEY - set the
BASE_URL, and optionally theSECURITY_CONTEXTintoken-server/index.js - run
npm ito install dependencies - run
npm run token-server - follow the instructions in the
client-*folder to run a client
Embeddable is a developer toolkit for building fast, interactive, customer-facing analytics directly into your product. Fully customize analytics dashboards using React.js, and seamlessly integrate them anywhere with Web Components.
Discover more about Embeddable by reading our Docs, Customer Stories, and Blog.