Frequently asked questions
How SDK works
SDK is just a layer between your app and Dasha's API, based on GRPC and REST API. All connections are established using the TLS protocol, which provides encryption and data integrity.
How to connect to Dasha, when I need a proxy support
If your network configuration requires a proxy (like a squid) you can set the environment variable https_proxy
to address of your proxy.
For example: https_proxy=http://127.0.0.1:3128 node main.js
Do I always need to use dasha login
? How do I authorize on a server, or in a container?
Both the SDK and the CLI tool support the DASHA_APIKEY
(and optional DASHA_SERVER
) environment variables:
# set up the variable export DASHA_APIKEY="your-api-key-here" # and start your Dasha application npm start
You can also set it programmatically using the account
option of dasha.deploy()
and other methods.
Found a mistake? Email us, and we'll send you a free t-shirt!