> For the complete documentation index, see [llms.txt](https://dev.alvin.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dev.alvin.ai/optimize-your-environment/integrate-query-sources/node-javascript-generic.md).

# Node/Javascript - Generic

For use with the official BigQuery Node client

For using the Alvin Optimizer in a Node/Javascript environment with the [BigQuery Node client](https://cloud.google.com/nodejs/docs/reference/bigquery/latest), please ensure that this environment variable is set and available before running your code:

`BIGQUERY_EMULATOR_HOST=https://<your proxy>.alvin.ai/bigquery/v2`&#x20;

Note the difference between the python client, which does not require the `/bigquery/v2` suffix.&#x20;
