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

# SDK Use Documentation

## Environmental Requirements and Installation

### Environmental Requirements

* Java 1.8+
* Maven 3.8.3+

### Maven Install

```xml theme={null}
<dependency>
  <groupId>cloud.easybilling.sdk</groupId>
  <artifactId>eb-sdk-java</artifactId>
  <version>1.0.0</version>
</dependency>
```

***

## Environmental Address

* **Test environment:** `sbx.api.easybilling.cloud`
* **Production environment:** `api.easybilling.cloud`

***

## API Key Generation

1. Go to the System Selection Configuration page:<br />[https://test.app.easybilling.cloud/configuration?selectedTab=settings\&selectedSetting=users](https://test.app.easybilling.cloud/configuration?selectedTab=settings\&selectedSetting=users)
2. Click the **Edit** button.
3. Create a new API key.
4. Copy the API key for interface requests — it can be used as a long-term valid token.

***

## Use Examples

```java theme={null}
public class ApiTest {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();
        defaultClient.setBasePath("url");

        // Configure HTTP bearer authorization: token
        HttpBearerAuth token = (HttpBearerAuth) defaultClient.getAuthentication("token");
        token.setBearerToken("client_api_key");

        AccountApi apiInstance = new AccountApi(defaultClient);
        String traceId = UUID.randomUUID().toString(); // String |

        try {
            AccountResponse result = apiInstance.getAccountNumberById("accountNumber", traceId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountApi#createAccount");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}
```

***

## Development Documentation

* [https://github.com/easybilling-cloud/easybilling-payment-java](https://github.com/easybilling-cloud/easybilling-payment-java)
* [https://github.com/easybilling-cloud/easybilling-billing-java](https://github.com/easybilling-cloud/easybilling-billing-java)
