Skip to main content

Intro

useFantasma is the hosted Fantasma product. It gives you the Fantasma API and dashboard without running the stack yourself. You can see it in the live demo.

How To Use It

When setting up your SDK, use the hosted API base URL and the project-scoped ingest key:
import Foundation
import FantasmaSDK

let serverURL = URL(string: "https://api.usefantasma.com")!

try await Fantasma.configure(
    serverURL: serverURL,
    writeKey: "<your-usefantasma-ingest-key>"
)