--- layout: docs page_title: Consul API Gateway Basic Usage description: >- Consul API Gateway Basic Usage --- # Basic Usage This topic describes the basic workflow for implementing Consul API Gateway configurations. 1. Verify that the [requirements](/docs/api-gateway/tech-specs) have been met. 1. Verify that the Consul API Gateway CRDs and controller have been installed and applied (see [Installation](/docs/api-gateway/consul-api-gateway-install)). 1. Configure your [`Gateway`](/docs/api-gateway/configuration/gateway) and [`Routes`](/docs/api-gateway/configuration/routes) . as describe in the [Configuration](/docs/api-gateway/configuration) section. ```yaml apiGateway: enabled: true managedGatewayClass: ``` 1. Issue the `kubectl apply` command to implement the configurations, e.g.: ```shell-session $ kubectl apply -f gateway.yaml routes.yaml ``` ## Error Messages This topic provides information about potential error messages associated with Consul API Gateway. If you receive an error message that does not appear in this section, refer to the following resources: * [Common Consul errors](/docs/troubleshoot/common-errors#common-errors-on-kubernetes) * [Consul troubleshooting guide](/docs/troubleshoot/common-errors) * [Consul Discuss forum](https://discuss.hashicorp.com/) ### Helm installation failed: "no matches for kind" ```log Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: [unable to recognize "": no matches for kind "GatewayClass" in version "gateway.networking.k8s.io/v1alpha2", unable to recognize "": no matches for kind "GatewayClassConfig" in version "api-gateway.consul.hashicorp.com/v1alpha1"] ``` **Conditions:** Consul API Gateway generates this error when the required CRD files have not been installed in Kubernetes prior to installing Consul API Gateway. **Impact:** The installation process typically fails after this error message is generated. **Recommended Action:** Install the required CRDs by using the command in Step 1 of the [Consul API Gateway installation instructions](/docs/api-gateway/consul-api-gateway-install) and then retry installing Consul API Gateway.