Overview
Seam Components may be used on any website, in any web app, and with any framework all without needing a backend! This guide will show you how to create a web page where a user may connect their third-party account to Seam and instantly start managing their devices. You can use plain HTML, React, or any framework that supports web components.1 - Get a Publishable Key from the Seam Console
To access the Seam API, you’ll need a publishable key. This key identifies your application when making requests to Seam and is safe to embed in your frontend code. Go to console.seam.co and select “Client Sessions” from the sidebar. You should then see a “Publishable Key” that you can copy.2: Add Seam Components
- Plain HTML
- React
- Any JavaScript Framework
Seam Components are implemented in React, but may be used as native web components.Create a plain HTML page with the content below. You can serve this anyway you like, or even open it directly in your browser. The version in the script tag can be any released version.
3: Select a User Identifier Key
A User Identifier Key allows a device owner to make API requests to Seam where interactions are restricted only to the devices they own. You’ll need to choose a scheme for uniquely segmenting device owners and pass it to the components. Here are some suggestions for selecting a key:- The key should be a secret only known by the user.
- The key should not be displayed anywhere visible in the app or URL bar.
- The key should be opaque and contain sufficient entropy like a version 4 UUID.
- You should have a way to invalidate and generate a new key.
- Do NOT use an email, name, phone number, or anything that might be known by a third party.
- Plain HTML
- React
- Any JavaScript Framework
Next Steps
- Minimal sample apps running Seam Components in various frameworks.
- View and play with other components in the interactive storybook component library
- Check out some Full Example Apps

