Node.js
Learn about using the Node.js SDK for Firebolt.
Overview
The Firebolt Node SDK is a software development kit designed to facilitate the integration of Firebolt’s high-performance database capabilities into Node.js applications. This SDK provides a set of tools and interfaces for developers to interact with Firebolt databases, enabling efficient data manipulation and query execution. For more detailed documentation, including API references and advanced usage, refer to the README file in the Firebolt Node SDK repository.
Installation
To install the Firebolt Node SDK, run the following command in your project directory:
Authentication
After installation, you must authenticate before you can use the SDK to establish connections, run queries, and manage database resources. The following code example sets up a connection using your Firebolt service account credentials:
In the previous code example, the following details apply:
client_id
andclient_secret
: These are your service account credentials. Refer to Firebolt’s guide to learn how to create a service account and obtain its ID and secret.engineName
: The name of the engine used to run your queries on.database
: The target database where your tables will be stored.account
: The object within your organization that encapsulates resources for storing, querying, and managing data. In the Node.js SDK, the account parameter specifies which organizational environment the connection will use.
Quick start
In the following code example, credentials are stored in environment variables.
Contribution
To receive support, report issues, or contribute, please refer to the Firebolt Node SDK repository issue tracker.
License
This SDK is released under Apache License 2.0. See the LICENSE file for more details.