> ## 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

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

Configuration of the SQL endpoint that BI tools connect to.

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

```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(
...     security=tt.SecurityConfig(), sql_bridge=sql_bridge_config
... )
```

### Attributes

#### *port*

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.
