Skip to main content
This page sets up an SAP HANA connection that signs in with a database user and password. Datafold reads the schemas you grant it and writes scratch tables to a schema you create for it.

Before you begin

  • An SAP HANA admin user that can create users and schemas and grant privileges.
  • The hostname and SQL port of your SAP HANA instance.
  • Permission to add data connections in Datafold.
The examples use DATAFOLD_USER. You can choose another name. Replace <PASSWORD> and <SCHEMA> with your values.

Set up SAP HANA

1

Create a user

2

Grant access to your data

Run this grant for each schema in scope:
3

Create a temporary schema

Datafold writes scratch tables to this schema so that data processing stays in your database. Create it owned by the Datafold user:

Network access

If your SAP HANA instance only accepts connections from allowlisted IP addresses or is only reachable over a private network, see Securing connections for the options Datafold supports.

Add the connection in Datafold

Go to Settings → Integrations → Data Connections, click Add new integration and choose SAP HANA. Click Save.