GETTING STARTED

Quickstart

5min

Kognic provides a client called kognic-io to simplify calling our APIs using Python.

Installation

Install via pip:

kognic-io
kognic-auth

Install kognic-io for the most common use cases like file uploads and project management.

Bash


Generating credentials

In the main platform, credentials can be generated by clicking here in the user menu.

Document image


Setting credentials

Set the environment variable KOGNIC_CREDENTIALS to point to it.

Bash


Verify credentials

To verify that they are correct you can simply list projects in Python:

Since kognic-io v2.4.0 you can provide a workspace id that will be used for writes. For users with multiple workspaces this will be mandatory. See this page for instructions.

kognic-io
Python


You should now be set up to interact with the Kognic Platform.

Next step



Updated 09 Jan 2025
Doc contributor
Did this page help you?