Skip to main content
Getting started with Sublay via the API is straightforward. This guide will walk you through the essential steps to integrate Sublay into your application using direct API calls.
1

Create a Project on Sublay's Dashboard

To begin using Sublay, visit the Sublay Dashboard and create a new project. Once your project is set up, you’ll receive a projectId, which you need to save somewhere on the client as it is required for making API requests. It is not secret, but it is always recommended to store such data in environment variables if possible.
2

Explore the API

Once your project is set up, you can start using the API to interact with Sublay’s features. Most features that require user identity will also require authentication. Refer to the Authentication Documentation for details on handling authentication.
3

Start Implementing Features

With your project set up, you can now integrate various Sublay features such as:
  • Posting and fetching comments
  • Creating posts
  • Fetching posts for a feed