---
title: "open connection · RUAL Documentation"
description: "Builds a new flow based of the given SaltEdge v5 API Service Key"
canonical: https://docs.rual.nl/block-types/saltedge/function_saltedge_open_connection
language: en
---

# open connection

This block is part of the [`saltedge`](https://docs.rual.nl/block-types/saltedge) group and was last modified in core [`v13.0.6`](https://docs.rual.nl/core-versions/130006).

Builds a new flow based of the given SaltEdge v5 API Service Key

- flow `flow`

- App Id required `value` The SaltEdge App Id created within your dashboard

- Secret required `value` The SaltEdge App Secret created within your dashboard

- Private Key required `value` The private key of the PEM key generated for the usage within your SaltEdge App

- flow `flow`

- connection `saltedgeconnection` The opened SaltEdge connection, which can be used in subsequent SaltEdge functions

A typical wiring for [open connection](https://docs.rual.nl/block-types/saltedge/function_saltedge_open_connection): a [function trigger](https://docs.rual.nl/block-types/globals/trigger_custom_function) starts the flow; [value](https://docs.rual.nl/block-types/value/value_default) feeds the `service_key_id` pin; [value](https://docs.rual.nl/block-types/value/value_default) feeds the `service_secret` pin; the `flow` out pin feeds [debug](https://docs.rual.nl/block-types/state%20ui/state_debug).

![Studio canvas example for the open connection block: typical wiring for open connection.](https://docs.rual.nl/canvas-examples/function_saltedge_open_connection.png)

### Version history

Introduced in [`v13.0.6`](https://docs.rual.nl/core-versions/130006).
