Using Bearer Authentication with the JS Client APIJS Client API Example that uses Bearer auth and returns the first project ID and instance ID.