Install an SDK
This guide walks you through adding the Loop Platform SDK to your project.
Who this is for
Developers building applications that integrate with the Loop Platform via one of the official SDKs.
Node.js
Install the SDK package from the GitHub Packages registry:
npm install @platform/sdkConfigure your .npmrc to point to the registry:
@platform:registry=https://npm.pkg.github.comThen import and initialize:
import { createClient } from "@platform/sdk";
const client = createClient({
baseUrl: "https://api.platform.loop.health",
token: process.env.LOOP_ACCESS_TOKEN,
});Python
pip install loop-platform-sdkfrom loop_platform import Client
client = Client(
base_url="https://api.platform.loop.health",
token=os.environ["LOOP_ACCESS_TOKEN"],
)React Native
npx expo install @platform/sdkThe SDK works with both Expo managed and bare React Native workflows. See the React Native Quickstart for a complete example.
Next Steps
- Use a Service from Your App — Make your first API call.
- Connect with Loop — Set up OAuth for user-scoped tokens.