Focus on building software with an easy-to-use, scalable, serverless time series platform available on AWS, Azure, and Google Cloud.
Go to siteThe InfluxDB Cloud API allows you to build a variety of applications that interact with InfluxDB. Some examples of what you can build include:
import { InfluxDB } from '@influxdata/influxdb-client';
import { HealthAPI } from '@influxdata/influxdb-client-apis';
export default defineComponent({
props: {
influxdb_cloud: {
type: "app",
app: "influxdb_cloud",
}
},
async run({steps, $}) {
// See the Node.js client docs at
// https://github.com/influxdata/influxdb-client-js
const influxDB = new InfluxDB(this.influxdb_cloud.$auth.url);
const healthAPI = new HealthAPI(influxDB)
// Execute a health check to test our credentials
return await healthAPI.getHealth()
},
})
InfluxDB Cloud uses API keys for authentication. When you connect your InfluxDB Cloud account, Pipedream securely stores the keys so you can easily authenticate to InfluxDB Cloud APIs in both code and no-code steps.
Enter the Influx Cloud URL for your account below, with the full scheme and domain, like:
https://us-east-1-1.aws.cloud2.influxdata.com
Then, enter your Token (see how to create a token here).
Finally, enter your Org (see how to list and create orgs here). On the Influx Cloud free tier, this is often the email address you used to login.