# hmac-auth-https ## How to open in CodeSandbox? This example is available online as a [CodeSandbox Devbox](https://codesandbox.io/docs/learn/devboxes/overview). Visit [githubbox.com/graphql-hive/gateway/tree/main/examples/hmac-auth-https](https://githubbox.com/graphql-hive/gateway/tree/main/examples/hmac-auth-https). ℹ️ You can open an example from other branches by changing the `/tree/main` to the branch name (`/tree/`) in the URL above. ## How to run locally? 1. Download example ```sh curl -L https://github.com/graphql-hive/gateway/raw/refs/heads/main/examples/hmac-auth-https/example.tar.gz | tar -x ``` ℹ️ You can download examples from other branches by changing the `/refs/heads/main` to the branch name (`/refs/heads/`) in the URL above. 1. Open example ```sh cd hmac-auth-https ``` 1. Install ```sh npm i ``` 1. Run generate-users-cert ```sh npm run generate-users-cert ``` 1. Start service users ```sh npm run service:users ``` 1. Start service comments ```sh npm run service:comments ``` 1. Compose ```sh npm run compose ``` 1. Start the gateway ```sh npm run gateway ``` 🚀 Then visit [localhost:4000/graphql](http://localhost:4000/graphql) to see Hive Gateway in action! ## Note This example was auto-generated from the [hmac-auth-https E2E test](/e2e/hmac-auth-https) using our [example converter](/internal/examples). You can browse the [hmac-auth-https.e2e.ts test file](/e2e/hmac-auth-https/hmac-auth-https.e2e.ts) to understand what to expect.