Step 1: Create (or Identify) Lambda-backed API in API Gateway

  1. Open the API Gateway console.
  2. If you haven’t already, create a REST API (or HTTP API) and add a resource/method that integrates with your Lambda function:

Step 2: Generate an API Key

  1. In API Gateway’s left nav, choose API Keys, then Create API key.
  2. Give it a name (e.g. MyServiceKey) and click Save.
  3. On the detail page, note the Value (the actual key string clients must send).

Screenshot 2025-07-02 at 6.02.59 PM.png


Step 3: Define a Usage Plan

A usage plan ties API stages to throttling/quota and API keys.

Console Steps: