Skip to content

Document Edge App integrations#296

Open
renatgalimov wants to merge 1 commit into
masterfrom
document-edge-app-integrations
Open

Document Edge App integrations#296
renatgalimov wants to merge 1 commit into
masterfrom
document-edge-app-integrations

Conversation

@renatgalimov

@renatgalimov renatgalimov commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

Edge Apps docs had no integrations reference. Without it, AI agents produce complete nonsense when wiring up a connected service.

Adds an Integrations section under Settings: an integration-backed value is a setting whose help_text.properties.type names the provider and field (<provider>:<field>), and getCredentials() returns { token, metadata } at runtime.

🤖 Generated with Claude Code

Integration-backed values are settings whose help_text descriptor names a
provider; the app fetches credentials at runtime via getCredentials.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds missing documentation for Edge App “Integrations” so developers (and AI agents) can correctly model integration-backed settings and fetch credentials at runtime.

Changes:

  • Adds an Integrations entry to the Settings table of contents.
  • Documents how to declare integration-backed settings via help_text.schema_version: 1 and help_text.properties.type.
  • Documents runtime credential retrieval returning { token, metadata } and references reserved injected settings.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/EdgeApps.md

Some Edge Apps show data from a third-party service — a calendar, a Grafana or Power BI dashboard, a Salesforce report. Connecting to those services means authenticating and keeping credentials fresh. **Integrations** hand that work to Screenly: the user connects an account once in the Screenly dashboard, and your Edge App receives ready-to-use credentials at runtime.

An integration-backed value is just a setting whose `help_text.properties.type` names the provider and the field Screenly should fill, in the form `<provider>:<field>`. The field is either a credential (a token) or a piece of configuration the user chose when connecting the account (which calendar, which dashboard).
Comment thread docs/EdgeApps.md
> Fetching credentials at runtime

```js
const { token, metadata } = await getCredentials();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants