Install the SDK and initialize Juno
To connect Juno to your web app, you need to install the SDK and initialize your satellite.
tip
- Install Juno using npm:
npm i @junobuild/core
- Initialize Juno in your web app:
import { initJuno } from "@junobuild/core";
// TODO: Replace the following satelliteId with your app's effective satellite ID.
await initJuno({
satelliteId: "aaaaa-bbbbb-ccccc-ddddd-cai",
});
Replace the satellite ID with the unique ID for your app, which can be found in the console.