How to sendfrom
Follow these steps to connect Slack message, send from TypeScript, and track delivery.
1
Connect your platform
Connect your Slack workspace to yeetpost:
- Go to app.yeetpost.com
- Click Add connection and select Slack
- Authenticate with your Slack workspace
- Select the channel where messages will be posted
Paste your connection slug here and we'll auto-fill it into the code examples below.
2
Get your API key
Get your API key from the yeetpost dashboard:
- Go to app.yeetpost.com/settings
- Copy your API key
Paste your API key here and we'll auto-fill it into the code examples below.
3
Send your post
Install the yeetpost package:
npm install yeetpostSet your API key as an environment variable:
YEETPOST_API_KEY=<your-api-key>Send a post:
import { yeetpost } from "yeetpost";
await yeetpost({
connection: "<your-connection-slug>",
text: "Hello from yeetpost!",
});4
Track your posts
Monitor all your posts from the yeetpost dashboard:
- Go to the Feed tab in the yeetpost dashboard
- View all posts sent via yeetpost, including status and timestamps
5
Review the security checklist
Review the Security Checklist to ensure your implementation is secure.
Related guides
Related resources
Copy this guide (with your values) for use with LLMs or sharing with colleagues.