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

# Java SDK | Collate Java SDK Documentation

> Learn to integrate Collate's Java SDK into your applications. Complete documentation, code examples, and API reference for seamless metadata management.

## Overview

Collate's current Java SDK is the `org.open-metadata:openmetadata-sdk` module. It provides a simple initializer, a service-level client, and fluent helpers under `org.openmetadata.sdk.fluent.*`.

## Start here

<CardGroup cols={2}>
  <Card title="SDK overview" href="/sdk/java/info">
    Installation, client setup, CRUD patterns, and fluent usage.
  </Card>

  <Card title="Lineage guide" href="/sdk/java/lineage">
    Read and write lineage with the Java API layer.
  </Card>
</CardGroup>

## Installation

Use the SDK version that matches your server release.

```xml theme={null}
<dependency>
  <groupId>org.open-metadata</groupId>
  <artifactId>openmetadata-sdk</artifactId>
  <version>YOUR_OPENMETADATA_VERSION</version>
</dependency>
```

## Basic client setup

```java theme={null}
import org.openmetadata.sdk.client.OpenMetadata;

OpenMetadata.initialize(
    "https://your-company.getcollate.io/api",
    "your-jwt-token"
);

var client = OpenMetadata.client();
```

## Common entry points

* `OpenMetadata.client()` returns the service-level client for `tables()`, `glossaries()`, `databaseServices()`, and similar REST-backed operations.
* `org.openmetadata.sdk.fluent.Tables`, `Glossaries`, `Users`, and related helpers provide a higher-level fluent layer after you set a default client.
* The lineage guide uses `org.openmetadata.sdk.api.Lineage` on top of the same initialized client.
