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

# SqlBridgeConfig

<span id="atoti_sql_bridge.SqlBridgeConfig" />

> atoti\_sql\_bridge.SqlBridgeConfig(<br />
>     \*,<br />
>     *port*: [int](https://docs.python.org/3/builtins/functions.html#int) = `5432`,<br />
> )

Configuration of the SQL endpoint that BI tools connect to.

Other options, such as SSL and the naming of levels, are listed in the [Atoti Server documentation](https://docs.activeviam.com/engine/java-sdk/6.2/user_guide/querying/front_ends/sql_endpoint).

```pycon theme={"languages":{"custom":["/engine/python-sdk/6.2/languages/pycon.tmLanguage.json"]}}
>>> from atoti_sql_bridge import SqlBridgeConfig
>>> sql_bridge_config = SqlBridgeConfig(port=1337)
>>> session_config = tt.SessionConfig(sql_bridge=sql_bridge_config)
```

### Attributes

<h4 id="atoti_sql_bridge.SqlBridgeConfig.port">
  *port*
</h4>

The port the SQL endpoint listens on.

Use `0` to let the operating system pick a free port.
The connection files generated for the BI tools will contain whichever port was picked.
