Skip to main content

Install the SDK and initialize Juno

To connect Juno to your web app, you need to install the SDK and initialize your satellite.


If you plan to use Juno for hosting purposes only, you can skip these steps, as they are only required for rich features like authentication, datastore or storage.

  1. Install Juno using npm:
npm i @junobuild/core
  1. Initialize Juno in your web app:
import { initJuno } from "@junobuild/core";

// TODO: Replace 'satelliteId' with your actual 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.