Skip to main content
This guide explains two ways to use ngrok from Java. It covers embedding ingress in an app with the ngrok Java SDK and managing ngrok resources programmatically with the Java API client.

Use the ngrok Java SDK

Use the ngrok Java SDK to embed ngrok secure ingress into your Java app.

Use the ngrok Java API client

Use the ngrok Java API client to manage your ngrok account and resources programmatically. It supports tasks like registering domains, creating edges, and configuring IP restrictions.