Getting started
These tutorials take you from nothing to a working integration on your own machine. Each one is a straight path with one outcome; the guides cover the variations, and the concepts explain the why.
Everything runs against fcdev, the whole platform in one local binary with an embedded
database, so you need no cloud account, Docker or shared environment.
The path
Section titled “The path”| Tutorial | You will | Time |
|---|---|---|
| Install and run fcdev | Install the local platform, start it and sign in to the console. | 5 minutes |
| Your first event, end to end | Create an application, declare an event type and a subscription in code, publish through the outbox, and receive the signed webhook. | 20 minutes |
| Sign users in with FlowCatalyst | Use the platform as your web application’s identity provider, with roles in the token. | 20 minutes |
| Your first function | Scaffold, run and deploy code that the platform runs for you. | 15 minutes |
| Your first service on the framework | Build a small business service with the application framework (Java or Go). | 30 minutes |
Start with the first two in order: every later tutorial assumes a running fcdev and knows what an
application and its service account are. After that, take them in any order.
Pick a language
Section titled “Pick a language”Code samples come in tabs for Go, Java, TypeScript, PHP (Laravel) and Rust, where that SDK supports the step. Choose a tab once and the site remembers it on every page. The Rust SDK is not released yet; its samples are there for teams trying it from source.
| SDK | Install |
|---|---|
| Go | go get github.com/flowcatalyst/go-sdk@v0.7.0 |
| Java | io.flowcatalyst:flowcatalyst-sdk:0.0.38 from the GitHub Packages Maven registry https://maven.pkg.github.com/flowcatalyst/flowcatalyst (not Maven Central) |
| TypeScript | npm install github:flowcatalyst/typescript-sdk#v0.29.0 (package @flowcatalyst/sdk) |
| PHP (Laravel) | Composer, from the flowcatalyst/laravel-sdk repository’s tags (^0.18) |
| Rust | Not released; use clients/rust-sdk from a checkout |
The SDK overview has the full feature matrix.
Before you begin
Section titled “Before you begin”It helps to know three words, all explained in the glossary:
- Application: your software, as the platform knows it. It owns event types, roles, subscriptions and a service account.
- Event: a fact your application records (“order placed”), published once and delivered to every subscriber.
- Dispatch job: one delivery of something to one endpoint, with retries, ordering and a history.
If you want the big picture first, read What is FlowCatalyst and the architecture overview.