Skip to main content
This is part 4 of the Your First Plugin tutorial. Make sure you’ve completed 3. First Integration first.
Now let’s connect the node to the integration so it uses real credentials to call an external API.

Declare the integration dependency

Update the node class to reference the integration:

What changed

  1. integrations = {"weather_api": ["api_key"]} — declares this node depends on the weather_api integration. The platform will show a connection prompt in the editor if credentials aren’t configured.
  2. ctx.get_integration_credentials("weather_api") — retrieves the decrypted credentials at runtime. Returns a dict with the fields from your BaseCredentials model.

How credentials flow

Credentials are never stored in the plugin. They’re decrypted by the platform at execution time and passed through the RemoteExecutionContext for that specific run.

Using multiple integrations

A node can depend on more than one integration:

Error handling for credentials

Always validate that credentials exist before using them:

Next: Working with Files →

Read and create files from plugin nodes.