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

# Install

Add the Signplus Java SDK package to your project

```xml theme={null}
<dependencies>
    <!-- Other dependencies -->

    <!-- Add the dependency for alohi.signplus.signplus -->
    <dependency>
        <groupId>com.alohi</groupId>
        <artifactId>signplus</artifactId>
        <version>2.0.0</version> <!-- Use the specific version you need -->
    </dependency>
</dependencies>
```

Save the pom.xml file and run the following command to install the dependencies:

```bash theme={null}
mvn install
```

Call your first SDK method

```java theme={null}
import com.alohi.signplus.Signplus;
import com.alohi.signplus.config.SignplusConfig;
import com.alohi.signplus.models.CreateEnvelopeRequest;
import com.alohi.signplus.models.Envelope;
import com.alohi.signplus.models.EnvelopeFlowType;
import com.alohi.signplus.models.EnvelopeLegalityLevel;

public class Main {

  public static void main(String[] args) {
    SignplusConfig config = SignplusConfig.builder().accessToken("YOUR_ACCESS_TOKEN").build();

    Signplus signplus = new Signplus(config);

    CreateEnvelopeRequest createEnvelopeRequest = CreateEnvelopeRequest
      .builder()
      .name("name")
      .flowType(EnvelopeFlowType.REQUEST_SIGNATURE)
      .legalityLevel(EnvelopeLegalityLevel.SES)
      .expiresAt(8L)
      .comment("comment")
      .sandbox(false)
      .build();

    Envelope response = signplus.signplusService.createEnvelope(createEnvelopeRequest);

    System.out.println(response);
  }
}
```

<Card title="SDK Reference" icon="code" href="./sdk-reference">
  Check out the SDK reference to see all the available methods and options
</Card>
