Please enable JavaScript to view this site.

Knack API Data Model

Navigation: » No topics above this level «

Knack SQL Connector

Contents Previous Home Next More

Knack is a low-code platform to build online databases.

Invantive SQL is the fastest, easiest and most reliable way to exchange data with Knack. Invantive SQL is available on many user interfaces, including Microsoft Excel, Microsoft Power BI, Microsoft Power Query, Microsoft Word and Microsoft Outlook. For technical users there are command-line editions running on iOS, Android, Windows, MacOS and Linux. High-volume replication of data taken from Knack into traditional databases such as SQL Server (on-premise and Azure), MySQL, PostgreSQL and Oracle is possible using Invantive Data Replicator. Finally, online web apps can be build for Knack using App Online of Invantive Cloud.


The SQL connector for Knack does not support partitioning. Define one data container in a database for each company to enable access to data from multiple companies.

An introduction into the concepts of Invantive SQL such as database, data containers and partitioning can be found in the Invantive SQL grammar.

The configuration can be changed using various attributes during log on and use. A full list of configuration options is listed in the connector attributes.

The catalog name is used to compose the full qualified name of an object like a table or view. The schema name is used to compose the full qualified name of an object like a table or view. On Knack the comparison of two texts is case sensitive by default.

Changes and bug fixes on the Knack SQL connector can be found in the release notes.

Code for use in settings.xml: Knack

Alias: knack

Recommended alias: knk

More technical documentation as provided by the supplier of Knack on the native connection used can be found at



Authentication can be done using one of the following two alternatives:

1. Using the user log on code and password to access Knack views.

2. Using an API key to access Knack objects.

The API key can be found on the 'API & Code' page in Knack available through the settings gear on the top-left corner next to the word 'Integration'. The URL for the API key is, with 'SAMPLE' replaced by your slug. The slug is the word before '' when running your app.


Usage Limits

Invantive SQL executes API calls to retrieve and upload data. The number of API calls allowed per hour depends on your Knack plan. The default usage limits vary depending on plan between 1.000 and 25.000 calls per day, with a limit of 10 calls per second. Invantive SQL ensures that within your session the number of calls allowed per hour is not exceeded.

To get an impression of how Invantive SQL translates into API calls, please query the data dictionary view 'sessionios', such as with 'select * from sessionios@datadictionary'.

25-09-2020 11:0620.1.226-BETA+2930