Skip to content

Commons Prompts

Some common prompts that can help you interact with Anica to help with your journey of getting acquainted with kis.ai. As you get more comfortable with the simple exploratory prompts, you can quickly get productive with more advanced prompts which can save you navigating to multiple screens and clicking on the options.

Learning about kis.ai features

Here are some sample questions to ask Anica to get a sense of what kis.ai has to offer and get some idea how to use various blocks together

tell me about kis.ai
what are the key features of kis.ai?
tell me about data api?
How to configure authentication and authorization?
tell me about the key blocks of the platform
how to send a notification in a slack channel when an entity is created?
What does realm mean?
why provider will i have to use if do authentication with otp to emai?
is authentication with magic link supported?
are passkeys supported?

Products

Product are atomic unit of features on kis.ai. They can be simple with only one or two blocks, or can be super complex with many blocks and apps.

Create a product

create product mellow

List product templates in the marketplace

list product templates

Create a product from an existing product template from the marketplace

create product mellow from template mellow-vue-trello

Create a product from an existing git repository

create product mellow with url https://git.kisai.dev/kis.ai/sample-products-mellow.git

List products you can access

list products

Give access to your product to others

give read access mellow product to [email protected]

See who has access to your product

list all people with access to product mellow

Delete a product

delete product mellow

Workspaces

Workspaces are cloud environments or containers that developers can create work on products. Developers can create multiple workspaces and each of these workspaces are independent and isolated from each other. Workspaces are fungible, and develoepers should create and destroy workspaces as needed. When creating workspaces developers can specify the need for the workspace to select the right type and image of workspace.

List types of workspaces

list workspace types

This commamd usually returns containers. There are numerous types of workspaces available on kis.ai. Please reach out to your DevOps contact or Admin of kis.ai cluster.

List workspace images

List all types of container images or workspace machine images that are available

list workspace images

Create a workspace

create workspace mellow-main

Create workspace with a specific product and versions

create workspace mellow-120 with product mellow and version 1.2.0

Add a product to workspace

add product mellow to workspace mellow-main and link to database mellow-db-01

Remove a product from a workspace

remove product mellow from workspace mellow-main

List all workspaces

list workspaces

List workspace which are accessible to others

list workspaces which others have access

Give access to workspace

give write access to [email protected] to workspace mellow-main for next 60mins

Delete a workspace

Delete workspace mellow-main

Databases

Databases are attached to products when they are added to a workspace. They can be created before hand or created when a product is being added to the workspace.

List database tyoes

list database types

this usually returns the following response

----------------------------
database | version |
----------------------------
postgres | 16.3 |
clickhouse | 23.8.14.6-lts |
----------------------------

Create database

Here we have selected the database type postgres. Developers usually do not have the option to specify the location of database or infrastructure to be created on. If you need a database with more specific needs, please reach out to your DevOps contact or Admin of your kis.ai cluster.

creaate database mellow-db-01 in postgres

List databases

list databases

Export a datatabase to an excel file

Here each table will be saved into a sheet of the excel with table name as sheetname. The file will be saved into the specified workspace or current workspace. If no workspace is selected or available, the command will error out.

export mellow-db-01 to mellow-db-01.xlsx

Import a excel file into a database

Here each sheet data will be read and inserted into the table with name same as sheetname. If the table already has data, new data will be appended to the table. If there is any data insert problem due to constraint violation with any table, the entire database import process will fail. You can use truncate and import option if you wish to truncate table and import data into a table. The file will be picked up from current workspace or specified workspace.

import data from mellow-db-01.xlsx to database mellow-db-01
import data from mellow-db-01.xlsx to database mellow-db-01 with truncation
import data from mellow-db-01.xlsx to database mellow-db-01 for sheets employee, employee_preferences

Duplicate a database

clone database mellow-db-01 to mellow-db-02

Delete database

delete database mellow-db-01