Getting Started
Last updated
Last updated
To configure the Stepsailors AI Command Bar, follow these two steps:
Integrate the Script-Tag (already done in onboarding) Incorporate the script tag to load dynamic resources such as stylesheets and scripts.
Setup the SDK (That is what we do now) Configure the Software Development Kit (SDK) to enable communication with these resources.
The SDK acts as an API to the command bar. Here you define what the command bar is capable of doing.
Create a file called StepsailorSdk.tsx
and copy the following starter template.
This is where everything your command bar can do will be defined. This is where you connect the command bar to your product logic.
The command now should work and actually you should be able to run ask to create a folder.
In the you will see how to add your logic.