I want to connect to other databases by building a module. Which SDK should I refer to

I want to connect to other databases by building a module. Which SDK should I refer to

Why do you think you need a module to connect to "other databases"? You should be able to create a connection to most databases on the gateway, Config → DATABASES → Connections → Create new Database Connection.

Create a custom JDBC driver following the JDBC specification.