Documentation Index
Fetch the complete documentation index at: https://docs.dialect.to/llms.txt
Use this file to discover all available pages before exploring further.
Registration Methods
Dashboard (Recommended)
SDK
API
- Access the Dialect Developer Dashboard
- Connect your wallet (We highly recommend using a new keypair)
- Click on Alerts
- Register your Project
Required Fields:
- Project Name: Public name users will see
- Description: Brief explanation of your app’s purpose
- Project Logo: App icon (recommended: 256x256px PNG max. 1MB)
Step 1: Install packagesnpm install @dialectlabs/sdk @dialectlabs/blockchain-sdk-solana
Step 2: Create a keypair for your appCreating a keypair is analogous to creating a username & password. It’s important to securely create and manage your keypair, as it will be used to access your Dialect account.
# Create new keypair
solana-keygen new -o <your-app-name>-messaging-keypair.json
# Get the public key
solana-keygen publickey <your-app-name>-messaging-keypair.json > app-pubkey.pub
Step 3: Set environment variable# Set your keypair as environment variable (use the array format from your keypair file)
export DIALECT_SDK_CREDENTIALS="[170,23,...,300]"
Step 4: Register programmaticallyimport { Dialect, DialectCloudEnvironment, DialectSdk, BlockchainType } from "@dialectlabs/sdk";
import {
Solana,
SolanaSdkFactory,
NodeDialectSolanaWalletAdapter,
} from "@dialectlabs/blockchain-sdk-solana";
const environment: DialectCloudEnvironment = "production"; // or "development"
// Create SDK instance
const sdk: DialectSdk<Solana> = Dialect.sdk(
{
environment,
},
SolanaSdkFactory.create({
// IMPORTANT: must set environment variable DIALECT_SDK_CREDENTIALS
// to your dapp's Solana keypair e.g. [170,23, . . . ,300]
wallet: NodeDialectSolanaWalletAdapter.create(),
})
);
// Register your app
const dapp = await sdk.dapps.create({
name: "My App Name",
description: "Brief description of what my app does",
blockchainType: BlockchainType.SOLANA,
});
console.log('App registered successfully:', dapp);
Always create a new wallet for each app. Never reuse existing wallet keypairs from other applications or personal wallets. This ensures proper security isolation and prevents unauthorized access to your notification system.
Keep your DIALECT_SDK_CREDENTIALS secure. This is your app’s private key and should never be exposed in client-side code or committed to version control.
Dialect’s database never stores your app’s private keys, only the public key.
Coming soon! For now, please use the Dashboard or SDK methods above.
Your app is now ready to send notifications! 🎉
Next Steps
After successful registration:
- Understand core concepts - Learn about topics, channels, and subscribers
- Explore the dashboard - Manage your app and monitor usage
- Send your first notification - Start integrating notification sending
- Universal Inbox Guide - Integrate an Inbox using APIs or advanced UI components