2️⃣Step 2 - Import Eartho into your app

This document describes how to complete a basic Eartho integration in a web app.

1. Before we start, you need to create your first access for your app.

1️⃣pageStep 1 - Create your first project and access point

2. Install the SDK and initialize Eartho One

  1. Install package


npm install @eartho/one-client-js

Or

<script src="https://cdn.jsdelivr.net/npm/@eartho/one-client-js@2.0.11/dist/one-client-js.production.js"></script>

2. Go to https://creator.eartho.io/ and

Copy the values of your eartho client ID from the "Setup tab" And replace it with "YOUR_EARTHO_CLIENT_ID" + "YOUR_EARTHO_ACCESS_ID" in stage 3 code.

Last updated