Skip to main content
Studio can generate a working onboarding snippet for any data provider, so you do not have to assemble the token call and the ingest call by hand.
1

Open the provider menu

On the Data providers tab, press the menu on the provider and choose View code examples.
2

Pick a language and a source

The code examples dialog
  • LanguageC# or JavaScript.
  • Source — one of the provider’s allowed sources. The snippet is written for the identifier of the source you pick.
  • Secret — optional. Paste the provider secret and it is written into the snippet; leave it empty and the snippet carries a placeholder instead.
The provider ID is filled in for you.
3

Copy it

Use the copy button above the snippet, or Copy & close to copy and dismiss the dialog.

What the snippet does

Both languages follow the same two steps: post the provider ID and secret to get an access token, then post entries to the import endpoint for the chosen source, with the token as a bearer header. The entity shape is visible in the snippet — a key for the entry ID, a delete flag, and a properties array where each property has an id, a value and an optional language.
If you paste the secret to generate the snippet, strip it before committing the code. Never ship a provider secret in frontend JavaScript or into source control.
The snippet is a starting point for the token and ingest calls. For the full API, see Ingest API overview and Application token.