Skip to content
Kong Logo | Kong Docs Logo
search
  • We're Hiring!
  • Docs
    • Kong Gateway
    • Kong Konnect
    • Kong Mesh
    • Plugin Hub
    • decK
    • Kubernetes Ingress Controller
    • Insomnia
    • Kuma

    • Docs contribution guidelines
  • Plugin Hub
  • Support
  • Community
  • Kong Academy
Get a Demo Start Free Trial
  • Kong Gateway
  • Kong Konnect
  • Kong Mesh
  • Plugin Hub
  • decK
  • Kubernetes Ingress Controller
  • Insomnia
  • Kuma

  • Docs contribution guidelines
    • Overview of Konnect
    • Architecture
    • Network Resiliency and Availability
    • Port and Network Requirements
    • Compatibility
    • Stages of Software Availability
    • Release Notes
      • Control Plane Upgrades FAQ
      • Supported Installation Options
    • Overview
    • Access a Konnect Account
    • Set up a Runtime
    • Configure a Service
    • Implement and Test the Service
      • Publish and Consume Services
      • Register Applications
    • Import Kong Gateway Entities into Konnect
    • Overview
      • Overview
      • Dashboard
      • Manage Runtime Groups with UI
      • Manage Runtime Groups with decK
      • Installation Options
      • Install with Docker
      • Install on Kubernetes
      • Install on Linux
      • Install on AWS
      • Install on Azure
      • Upgrade a Runtime Instance to a New Version
      • Renew Certificates
      • Runtime Parameter Reference
    • Create Consumer Groups
      • Overview
      • Set Up and Use a Vault in Konnect
    • Kong Gateway Configuration in Konnect
    • Plugin Ordering Reference
    • Troubleshoot
    • Overview
    • Manage Service Documentation
      • Overview
      • Configure a Plugin on a Service
      • Configure a Plugin on a Route
    • Overview
    • Access the Dev Portal
    • Sign Up for a Dev Portal Account
      • Manage Developer Access
      • Manage Application Registration Requests
      • Manage Application Connections
      • Auto Approve Dev and App Registrations
      • Azure OIDC
      • Application Overview
      • Enable and Disable App Registration
        • Overview
        • Okta
        • Curity
        • Auth0
      • Create, Edit, and Delete an Application
      • Register an Application with a Service
      • Generate Credentials for an Application
    • Customize Dev Portal
    • Troubleshoot
    • Introduction to Analytics
    • Analyze Services and Routes
    • Reports Use Cases
    • Reports Reference
    • Troubleshoot
      • Manage a Konnect Account or Plan
      • Change to a Different Plan
      • Manage Payment Methods and Invoices
      • Overview
        • Overview
        • Manage Teams
        • Teams Reference
        • Roles Reference
      • Manage Users
      • Manage System Accounts
      • Set up SSO with OIDC
      • Set up SSO with Okta
      • Login Sessions Reference
    • Account and Org Deactivation
    • Troubleshoot
    • Overview
      • API Documentation
      • Identity Integration Guide
      • API Documentation
      • API Documentation
      • Portal RBAC Guide
      • Overview
      • Nodes
      • Data Plane Certificiates
        • Services
        • Routes
        • Consumers
        • Plugins
        • Upstreams
        • Certificates
        • CA Certificates
        • SNIs
        • Targets
        • Vaults
      • API Spec
      • Filtering
    • Labels

github-edit-pageEdit this page

report-issueReport an issue

enterprise-switcher-iconSwitch to OSS

On this page
  • Prerequisites
  • Enable app registration
  • Create an application
  • Register the application
  • Generate a key auth credential
  • Summary and next steps
Kong Konnect
  • Home
  • Kong Konnect
  • Getting Started
  • Register an Application to a Service

Register an Application to a Service

Along with hosting API documentation, the Dev Portal can let your developers register applications against Konnect services. Your applications can then consume those services using application-level authentication.

For example, the application can represent a mobile banking app and the services registered to the application can be a billing API, a users API, and a legal agreements API.

Prerequisites

  • You have a Konnect service with at least one version.

  • You have published the Konnect service to the Dev Portal.

    • To use app registration, the Dev Portal must be protected by some sort of authentication. That means you can’t have a public portal for this step. If you set your Dev Portal to public, disable the setting and create a developer account.

Enable app registration

  1. From the servicehub icon Service Hub, open a service version.

  2. From the Actions dropdown menu, select Enable app registration.

  3. Accept the key-auth setting, toggle Auto-Approve to enable it, then click Enable.

    Application registration uses key authentication (key-auth) by default. If you have integrated the Dev Portal with an IdP, you can also select openid-connect. For the purpose of this example, we’re using the simpler key-auth option, which doesn’t required any external services.

    With Auto Approve enabled, any developers trying to register their applications against this service will be approved automatically. If you leave it off, you have to approve each registration request manually.

    With app registration enabled, all versions of this service now include read-only entries for the acl and key-auth plugins, and the service is now available for registration from the Dev Portal.

Create an application

Link an application to a published service.

  1. Log into the Konnect Dev Portal.

    You can always find your Dev Portal URL under the Dev Portal menu.

    Remember, the Dev Portal doesn’t share credentials with your Konnect account.

  2. In the Konnect Dev Portal, click My Apps from the dropdown menu in the upper right.

  3. On the My Apps page, click the New App button.

  4. Fill out the form with your application name, reference ID, and description. The reference ID must be unique.

  5. Click Create to save and see your new application’s detail page.

Register the application

  1. From your Dev Portal account, open the Catalog from the top menu and click on a service tile.

  2. Choose the version of the service you want to use and click Register.

    If you don’t see the registration button, that means this version doesn’t have application registration enabled.

  3. Select the application you want to register from the list.

  4. Click Request Access.

    This opens the application’s details page. If auto approval is enabled, the service appears with the status Approved.

Generate a key auth credential

  1. In the Authentication pane of the application detail page, click Generate Credential.

  2. Test the generated credential by making a call to the service the application is registered with using your generated API key:

    curl -i -X GET http://localhost:8000/mock \
     -H 'apikey: {API_KEY}'
    

    Use this key in any applications that need to access this service.

Summary and next steps

In this topic, you:

  • Enabled application registration for the a service
  • Created an application through the Dev Portal and registered it against your service
  • Generated an API key for the application and made a call using this key

You can learn more about application registration in the Kong Konnect Dev Portal documentation.

For next steps, check out some of the other things you can do in Kong Konnect:

  • If you have existing Kong Gateway configuration you want to use, import Kong Gateway entities into Kong Konnect
  • Enable plugins on a service or a route
  • Manage your teams and roles
Thank you for your feedback.
Was this page useful?
  • Kong
    THE CLOUD CONNECTIVITY COMPANY

    Kong powers reliable digital connections across APIs, hybrid and multi-cloud environments.

    • Company
    • Customers
    • Events
    • Investors
    • Careers Hiring!
    • Partners
    • Press
    • Contact
  • Products
    • Kong Konnect
    • Kong Gateway
    • Kong Mesh
    • Get Started
    • Pricing
  • Resources
    • eBooks
    • Webinars
    • Briefs
    • Blog
    • API Gateway
    • Microservices
  • Open Source
    • Install Kong Gateway
    • Kong Community
    • Kubernetes Ingress
    • Kuma
    • Insomnia
  • Solutions
    • Decentralize
    • Secure & Govern
    • Create a Dev Platform
    • API Gateway
    • Kubernetes
    • Service Mesh
Star
  • Terms•Privacy
© Kong Inc. 2023