> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bijection.com/llms.txt
> Use this file to discover all available pages before exploring further.

# External compute

> Admit work and observe original executions on external compute.

Mount `@bijectionhq/app-compute`  for one reviewed
provider binding. The provider runs the job or workflow. The mount records
intent, dispatch evidence, execution identity and bounded observations.
The installer controls authorization for each exposed operation.

## Mount and bind

Select a configuration from the provider guides below. Give each mount a
unique, non-secret installation ID. Keep the mount path, configuration,
receiver and provider account fixed while retained commands or observations
depend on them. Use a new mount and receiver for a different endpoint,
account, project, target, release or scope. Credentials can rotate within
the same provider identity.

```ts bijection/app.ts theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
import { app, label, secret } from "@bijectionhq/bijection";
import compute, { computeEndpoint, type ComputeConfiguration } from "@bijectionhq/app-compute";

const runs = label();
const token = secret();
const config: ComputeConfiguration = {
  installationId: "mlflow_installation_01",
  origin: "https://tracking.example.com",
  profile: { provider: "mlflow", experimentId: "25" },
};
const provider = computeEndpoint(config, { kind: "bearer", secret: token }, runs);

export default app({ runs, token, provider, tracking: compute({ data: runs, config, provider }) });
```

Set the credential with `bijection secret set token`. Pass the same
protected label to `computeEndpoint` and as the app's `data`; choose
`label.public` only for data intended for public disclosure. The
configuration is published installation terms: keep secrets in `secret()`
values. Size the label reservation for its retained rows and tasks. The
app's functions allow `tracking.operator`.

## Admit a command and read it back

Call `tracking.runs.start` with `{ key, input, commitBefore }`, where
`commitBefore` is a `Temporal.Instant`. Use a key
of 1–128 ASCII letters, digits, periods, underscores, colons or hyphens,
starting with a letter or digit. `input` is JSON text of up to 8 KiB.
Choose an absolute issuance cutoff within ten minutes. The original
key retains the canonical JSON and cutoff. An equal command replays its
admission and a changed command conflicts. Start dispatch uses a once-only
task with a deadline at the earlier of the cutoff and one minute after
admission.

Read `tracking.runs.get({ key })`. The start phase describes
admission by the provider separately from execution completion. An
`unknown` start can coexist with a running remote execution. Call
`tracking.runs.recover({ key, expectedAttempt })` with the attempt from `runs.get`.
When available, this queues a read of the retained provider locator or a
provider-specific readback keyed by the original command. It can report
`unavailable` when the original identity is missing, expired or differs.
The app retains the prior sample on a failed read. Recovery never submits a
start. Keep the command rows for the life of the installation.

## Observe a source

The provider guide specifies whether `source.initialize` takes an exact
`{ target: { id, incarnation? } }` or a listing `{ target: null }`.
A mount keeps one source with immutable selection. Query `source.health`,
and use its current revision with `poll`, `pause` or `resume`. To restart
a provider walk, use `reset` with the current revision and gap stamp.
`observations.get` takes an exact locator. `observations.list` returns up
to ten rows in index order. Continue by passing the last row's `key` as the `after` argument.
This local page is a live read.

A source lands the observation and next provider position together. Failed
or oversized responses keep the prior position. A provider `410` on a
continued walk records a gap. A finished listing starts a new sweep at
the baseline, and a point read has no cursor. A page holds up to 24 KiB of
JSON, with at most 100 records and 16 pages per scheduler turn. Point reads
and readback answers also have a 24 KiB limit. Samples can be stale. Missing
runs, provider retention, refusals and observations of deleted status
never delete retained facts. Coverage is limited to the installed selection
and the provider evidence it returns.

Outputs are bounded inline values or provider references. Artifact URLs,
paths and IDs remain data, and the app never follows them or materializes
Files.

* [Airbyte](https://docs.bijection.com/integrations/native-airbyte)
* [Fivetran](https://docs.bijection.com/integrations/native-fivetran)
* [Temporal](https://docs.bijection.com/integrations/native-temporal)
* [Restate](https://docs.bijection.com/integrations/native-restate)
* [Trigger.dev](https://docs.bijection.com/integrations/native-trigger)
* [AWS Step Functions](https://docs.bijection.com/integrations/native-stepfunctions)
* [DBOS](https://docs.bijection.com/integrations/native-dbos)
* [MLflow](https://docs.bijection.com/integrations/native-mlflow)
* [Vercel](https://docs.bijection.com/integrations/native-vercel)
* [Kubernetes](https://docs.bijection.com/integrations/native-kubernetes)
* [Palantir Foundry](https://docs.bijection.com/integrations/native-foundry)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.