Skip to main content
Synthetiq apps integrate with external services through pre-built service clients. The platform manages credentials, authentication, and connection lifecycle — app code simply imports a client and calls methods. The task tracker should send a Slack message to the team channel whenever a task is marked as completed. To do this, we’ll create a Slack service and use it in the updateTask procedure.

Create a Slack service and client

First, create a Slack service and generate a typed client using the Services Framework. See Defining a service and Using a service.

Add the client to the app

Install the generated client in the task tracker:

Use it in a procedure

When a user marks a task as completed, send a notification to Slack. Update the updateTask procedure in src/server/routes/tasks.ts:
The client resolves credentials automatically at call time — no API keys or tokens appear in app code. Admins configure Slack credentials once via the admin UI at /admin/services, and the framework handles the rest. For service access control configuration, credential models, and build-time validation details, see the Access control reference.