Connect
Connect
Before performing any operations, you must connect to MindsDB. By default, all operations will go through MindsDB Cloud REST APIs, but you can use a self-hosted version of MindsDB as well.
Here is how to connect to your local MindsDB server:
Here is how to connect to your local MindsDB server:
Here is how to connect to the MindsDB Cloud server:
Here is how to connect to the MindsDB Pro server:
Here is how to connect using your own Axios instance (see details on the default instance):
Please note that all methods that use await
must be wrapped in an async
function, like this: