Bazel Cloud Quickstart
This guide shows how to connect your Bazel project to NativeLink Cloud.
- 
If you can’t find a
.bazelrcfile create one in your project root:Directoryproject/
- WORKSPACE.bazel
 - MODULE.bazel
 - BUILD.bazel
 - .bazelrc
 
 - 
Copy the following lines into your
.bazelrc:.bazelrc build --remote_cache=[CLAIM_CAS_URL]build --remote_header=x-nativelink-api-key=[API_KEY]build --remote_timeout=600build --bes_backend=[CLAIM_BES_URL]build --bes_header=x-nativelink-api-key=[API_KEY]build --remote_timeout=600 - 
Run a Bazel build and you’ll see remote cache use on the Dashboard page.