The Pushinator connector lets your AI agent act in each user's Pushinator account. Each user connects their own Pushinator access token once, and Scalekit sends it with every call, so your agent never handles credentials. It comes with 2 tools.
- Tools
- 2
- What they doRead · write · destructive
- 0 · 2 · 00 read2 write0 destructive
- Users sign in with
- Access token
Setup
Install the SDK
Terminal window npm install @scalekit-sdk/node dotenvTerminal window pip install scalekit-sdk-python python-dotenvSet your credentials
Add your Scalekit credentials to your
.envfile. Find values in app.scalekit.com > Developers > API Credentials..env SCALEKIT_ENVIRONMENT_URL=<your-environment-url>SCALEKIT_CLIENT_ID=<your-client-id>SCALEKIT_CLIENT_SECRET=<your-client-secret>Create the Pushinator connection
In AgentKit > Connections, create a Pushinator connection. The name you give it is the
connection_nameyour code passes. See Configure connections.Authorize a user and make your first call
quickstart.mts import { ScalekitClient } from '@scalekit-sdk/node'import 'dotenv/config'import { createInterface } from 'node:readline/promises'const scalekit = new ScalekitClient(process.env.SCALEKIT_ENVIRONMENT_URL,process.env.SCALEKIT_CLIENT_ID,process.env.SCALEKIT_CLIENT_SECRET,)const actions = scalekit.actionsconst connector = 'pushinator'const identifier = 'user_123'// Generate an authorization link for the userconst { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })console.log('Authorize Pushinator:', link)const rl = createInterface({ input: process.stdin, output: process.stdout })await rl.question('Press Enter after authorizing...')rl.close()// Make your first callconst result = await actions.executeTool({connector,identifier,toolName: 'pushinator_channel_create',toolInput: { name: 'Deploy alerts' },})console.log(result)Terminal window npx tsx quickstart.mtsquickstart.py import osfrom scalekit import ScalekitClientfrom dotenv import load_dotenvload_dotenv()scalekit_client = ScalekitClient(env_url=os.getenv("SCALEKIT_ENVIRONMENT_URL"),client_id=os.getenv("SCALEKIT_CLIENT_ID"),client_secret=os.getenv("SCALEKIT_CLIENT_SECRET"),)actions = scalekit_client.actionsconnection_name = "pushinator"identifier = "user_123"# Generate an authorization link for the userlink_response = actions.get_authorization_link(connection_name=connection_name,identifier=identifier,)print("Authorize Pushinator:", link_response.link)input("Press Enter after authorizing...")# Make your first callresult = actions.execute_tool(tool_input={"name":"Deploy alerts"},tool_name="pushinator_channel_create",connection_name=connection_name,identifier=identifier,)print(result)Terminal window python quickstart.pyEach user opens the link once and enters their Pushinator credentials there. See Authorize a user for the full flow and statuses.
Tools
Pass the exact name toexecute_toolpushinator_channel_createCreate a Pushinator channel that people can subscribe to for notifications.WriteCreate Channel
Create a Pushinator channel that people can subscribe to for notifications. Returns the created channel's properties, including its ID. Use this to set up a new notification stream. Use pushinator_notification_send to post to it.
Inputs
namestringrequired- Name of the channel. Example: Server alerts.
descriptionstring- Description of the channel. Example: Alerts from the production servers.
pushinator_notification_sendSend a push notification to every subscriber of a Pushinator channel on iPhone, iPad and Android.WriteSend Notification
Send a push notification to every subscriber of a Pushinator channel on iPhone, iPad and Android. Returns success and a message saying the notification was created and is being sent. Use this to alert people subscribed to a channel. Use pushinator_channel_create first if the channel does not exist yet.
Inputs
channel_idstringrequired- UUID of the channel to send to, from the channel page in the Pushinator console. Example: 3f9c1a2e-5b7d-4c8e-9f01-23456789abcd.
contentstringrequired- Message text of the notification. Example: Backup job finished successfully.
acknowledgment_requiredboolean- Ask subscribers to acknowledge the notification; unacknowledged notifications are resent up to 5 times (after 1, 2, 4, 8 and 16 minutes). Paid plans only; treated as false on the Free plan. Defaults to false. Example: false.
No tools match.