Connecting to a BDK Book
Learn how to connect to Books built with BDK in Kognitos.
Before connecting to your custom Book, you must first learn it.
Syntax
Use the following syntax to connect to your custom Book in a Kognitos automation.
Basic Syntax
Specifying a Noun Phrase
If a noun phrase is implemented in your Book's @connect decorator, include via {preposition} {noun phrase}
. Choose a preposition that matches the plurality of the noun phrase. For example:
For a plural noun phrase:
via some API keys
For a singular noun phrase:
via a client credentials method
Passing Arguments
Arguments can be passed to your connection using the with
keyword:
Examples
1. Basic Connection
2. Passing Connection Arguments
3. Using a Noun Phrase
4. Using a Noun Phrase and Connection Arguments
In this example, api keys is the noun phrase, and several connection arguments are provided.
Last updated
Was this helpful?