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

# Integrate a Play into your app | Human guide

> Have your agent integrate Play results into your application.

```deepline-prompt theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
/deepline-gtm Integrate [Play] into [application]. Propose who owns the results, a small recovery test, and any external writes for review.
```

The agent chooses who owns the result: an application reading saved work, an authenticated callback receiver, or the Play writing to an approved destination.

Describe the application's latency needs, result destination, and permitted external writes. Save launch intent before submitting work and the returned run identity before waiting, so a restart can reconcile the original request. Review the proposed handling of timeouts, duplicate delivery, failures, and cancellation before deployment.

> [!TIP]
>
> Test interruption after saving the run ID, duplicate delivery and explicit cancellation. A timed-out request does not establish that nothing happened. An accepted `cancelling` response requires observing the same run until terminal; it does not confirm the work has stopped.

## Run without an open chat

For unattended work, identify the runtime, org, schedule, result destination
and stopping conditions. The agent first proves one foreground run and saves its
identity. Credentials must work in the actual background runtime; use
[folder binding](https://deepline.com/docs/human/sdk-v2/multi-org.md) or protected CI secrets.

> [!TIP]
>
> Review timing and retry ownership, overlapping runs, usage controls, failure
> visibility and how to pause the trigger before activating recurrence. A worker
> restart should inspect the saved run. Choose one destination owner so
> duplicate delivery converges on one intended change.

## Related guides

* [Recover a tool request](https://deepline.com/docs/human/sdk-v2/tool-execution-recovery.md)
* [Call Plays](https://deepline.com/docs/human/sdk-v2/calling-plays.md)
* [Call Plays from Python or HTTP](https://deepline.com/docs/human/sdk-v2/http-and-python.md)

[Review and operate a workflow](https://deepline.com/docs/human/templates.md#review-and-operate-a-workflow) covers org access, pilots, usage, and approval.

[Agent guide: CLI and SDK instructions →](https://deepline.com/docs/sdk-v2/production-integration.md)


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