> ## Documentation Index
> Fetch the complete documentation index at: https://ngrok.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Using ngrok with Java

> Learn how to use ngrok with Java applications using the ngrok Java SDK or API client for programmatic account management.

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](https://github.com/ngrok/ngrok-java) to embed ngrok secure ingress into your Java app.

* [ngrok Java SDK on Maven](https://mvnrepository.com/artifact/com.ngrok/ngrok-java)
* [ngrok Java SDK on GitHub](https://github.com/ngrok/ngrok-java)

## Use the ngrok Java API client

Use the [ngrok Java API client](https://github.com/ngrok/ngrok-api-java) to manage your ngrok account and resources programmatically.
It supports tasks like registering domains, creating edges, and configuring IP restrictions.
