Flutter

Learn How Easy It Can Be To Build Scalable Newsfeeds and Activity Streams

Copied!

Stream has official clients for JS/Node, Ruby, Python, PHP, Go, and Java. There are framework integrations available for Rails, Django, Laravel, Doctrine, Zend, and Node. In addition to the official clients, the community has built clients for .NET and Scala.

Integrations

Copied!

Official Clients

Copied!

Official clients are currently available for a number of languages:

Community Clients

Copied!

The community also contributed clients for Scala and Elixir:

If you want to build your own client, head over to the REST API documentation.

Framework Integrations

Copied!

Stream makes it a breeze to integrate with a number of popular frameworks. If you're new to Stream we recommend starting out with the lower level clients.

Community Framework Projects

Copied!

The community also contributed the following example projects

Setup

Copied!

Let's get set up! First, install the client as specified below:

All source code can be found on GitHub.

To instantiate the client you need an API key and secret. You can find the key and secret on the dashboard. The examples below already include your key and secret.

If you want to use Stream on your mobile or web application, you need to generate a token server-side that the JS/Swift/Java client can use to authenticate as a user of your application.

Generate User Token Server-Side

Copied!

This code generates the token for one of your users; a common place to do this is at signup or login. The token is then passed to the frontend.

Use Stream API client-side (JS, Swift)

Copied!
More details about authentication can be found in the REST docs

Quick Start

Copied!

The quick start below shows you how to build a scalable social network. It highlights the most common API calls:

That was a good deal of information at once. The getting started docs provide a more detailed and interactive explanation.