beam-logo
← All posts
Product

Introducing: Beam Javascript SDK

Eli MernitEli Mernit
December 5, 20241 min read
Introducing: Beam Javascript SDK
This is the fourth feature in our first launch week, where we ship a brand new feature every day, five days in a row.

Today we're releasing our Javascript SDK. While most users are building Beam apps in Python, they're rarely calling those apps from Python frontends. Instead, those frontends are typically running as React or Next.js apps.

We wanted to make it easy for web developers to invoke Beam apps client-side, so we shipped our official Javascript SDK.

What Can You Do With It?

The Javascript SDK supports basic CRUD-style functionality for managing deployments and tasks.

Get Started

To get started, install the package with your preferred package manager:

Importing the SDK

Import the library into your project:

You can find your Beam Token in the API Keys section of the Beam dashboard.

Manage Deployments and Tasks

The SDK makes it simple to manage deployments and tasks. You can call deployments, list them, cancel tasks, and more.

Real-time WebSocket Connections

Want to interact with deployments in real-time? The SDK supports WebSocket connections for real-time updates. Check out our docs for an end-to-end example:

What's Next

As a next step, check out our documentation for the complete Node SDK reference. Then, create a Beam account and start building!

If you have any feedback on the workflow or feature requests, we’d love to hear from you in our Slack Community.

This is Launch 4/5 this week! You can follow along with our upcoming launches on Twitter.
Eli Mernit
Eli Mernit
Published December 5, 2024
$30 free creditrefreshed monthly

Start shipping on infra
you won’t outgrow.

Run sandboxes and GPU workloads on your cloud, and scale out to ours when you need to. No infra to manage.