Skip to main content
Push LogoPush Logo
Docs
Explore
    Notification Docs

    Notification Docs

    Web3 native notification alerts

    Chat Docs

    Chat Docs

    Web3 native chat protocol with groups

    Video Docs

    Video Docs

    Decentralized video calls

    Spaces Docs

    Spaces Docs

    Decentralized audio streaming

    Push Home

    Push Home

    Back to Push Homepage

GitHubBlogDiscordLaunch App
Skip to main content

Push Documentation Hub

Get started with building native web3 communition for your protocol!Get Started

Popular Quickstart

Push Notification Quickstart
// Import Push SDK & Ethers
import { PushAPI } from '@pushprotocol/restapi';
import { ethers } from 'ethers';

// Using random signer from a wallet, ideally this is the wallet you will connect
const signer = ethers.Wallet.createRandom();

// Initialize wallet user, pass 'prod' instead of 'staging' for mainnet apps
const userAlice = await PushAPI.initialize(signer, { env: 'staging' });

// Send a notification to users of your protocol
const apiResponse = await userAlice.channel.send(['*'], {
notification: {
title: 'Hello World Notification',
body: 'Web3 native notifications are here!',
}
});
Push Chat Quickstart
// Import Push SDK & Ethers
import { PushAPI } from '@pushprotocol/restapi';
import { ethers } from 'ethers';

// Using random signer from a wallet, ideally this is the wallet you will connect
const signer = ethers.Wallet.createRandom();

// Initialize wallet user, pass 'prod' instead of 'staging' for mainnet apps
const userAlice = await PushAPI.initialize(signer, { env: 'staging' });

// Send a message to Bob
const aliceMessagesBob = await userAlice.chat.send(
'0x99A08ac6254dcf7ccc37CeC662aeba8eFA666666',
{content: "Gm gm! It's a me... Mario"}
);


Technical Documentation

Logo representing Push Notifications - Push Protocol
Notifications
Explore different ways of sending and receiving notifications and more.
Logo representing Push Chat - Push Protocol
Push Chat
Learn about the details of Push Chat and how to do web3 native messaging.
Logo representing Push Video - Push Protocol
Push Video
Learn about the details of Push Video and how to easily integrate it.
Logo representing Push Spaces - Push Protocol
Push Spaces
Learn about Push Spaces, the web3 native, token gated way of conducting spaces.
Logo representing examples repo - Push Protocol
Examples
Examples to showcase the power of Push Protocol’s communication stack.
Logo representing hackers section - Push Protocol
Hackers
Are you a hacker? Learn how to instantly get started with Push Protocol.
Logo representing Push DAO - Push Protocol
DAO
DAO of Push Protocol and how to get involved.
Logo representing tokenomics of $PUSH - Push Protocol
Tokenomics
Learn about the tokenomics of $PUSH which powers the Push Protocol.
Logo representing roadmap of Push Protocol
Roadmap
Roadmap of Push Protocol and all the exciting things to come.
Logo representing reward points of Push Protocol
Push Reward Points
Reward Points Program for contributors. Complete activities and earn points.

Push SDK

Explore SDK
SDK Starter Kit
REST API
React Native
Socket
UIWeb
UI Embed
Push LogoGet the latest Push news
Products
Push Notifications
Push Chat
Developers
Documentation Hub
Examples
Notification Quickstart
Chat Quickstart
Hackers
React Playground
Developer Discord
Community
Ecosystem
Push DAO
Grants
Billion Reasons to Build
Resources
Blog
FAQ
Roadmap
Tokenomics
Privacy PolicyTerms and conditions
Push LogoPush Logo
Edit this page