Learn how to create a connection between your local database and DataLang to create a chatbot assistant.
Go to ngrok's official website, and install it in your computer.
Assuming you have your local database running in port 5432, type in your terminal:
ngrok tcp 5432
You should get a Forwarding URL exposing your database.
In this case, the connection detaills are:
Host: 8.tcp.ngrok.io
Port: 19418
Go to your datalang.io dashboard, and create a new Data Source of type PostgreSQL.
Say you want to create a Sales Assistant, you'd write SQL similar to this:
Run it and see if you get any results. If you don't get any rows, check your connection details (or your local data).
Select your recently created assistant and give it some instructions.
Finally, ask the chatbot some questions about your data.
Contact us at hello@datalang.io.
We respect your privacy. We respect your privacy.
TLDR: We use cookies for language selection, theme, and analytics. Learn more. TLDR: We use cookies for language selection, theme, and analytics. Learn more