FAQs and How-tos
How to integrate Amberflo with NodeJS Lambda functions
2min
this is a common approach and there are several options for ingesting meters from a lambda function running nodejs to authenticate your amberflo account and create meters using nodejs lambda functions, use the api key which can be found in the 'settings' view in the amberflo ui use the typescript sdk you can use it as is from a nodejs app you can import the library from a javascript file with this command const { customerdetailsclient } = require('amberflo metering typescript'); 2\ configure the amberflo serverless agent to attach to the cloudwatch system in your aws vpc you then log the meter records (accompanied with an amberflo tag, so the agent can identify the meter records) the agent will automatically extract all logs with the tag, and ingest them as meters more information can be found at aws cloudwatch docid\ euo1 qvcdw9kd4lhpzegw 3\ write meters directly to an s3 bucket and amberflo can ingest the meters from there more information can be found at aws s3 docid\ ybf6t2 oh5f fy0eb2qno 4\ use our rest apis to ingest usage data directly more information can be found at getting started docid\ kdkc4ffc0 k 1anjm362f 📘 faqs and how tos docid\ bq14rede1rrwst00mbikx see related from integrations how to integrate with aws s3 for meter ingestion docid\ w1tmocufffqf0ol4tm5wy how to show billing and invoice information back to customers docid 4318mnzp5a5gugovauj2g