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

# Quickstart

> Add the Paubox Java SDK and send your first HIPAA-compliant email in minutes.

<Steps>
  <Step title="Add the JAR">
    Download `Paubox.Email.API.jar` from the repository and add it to your project's classpath. See [Installation](/java-sdk) for IDE and Maven instructions.
  </Step>

  <Step title="Create config.properties">
    Create a `config.properties` file in your project:

    ```properties theme={null}
    APIKEY=YOUR_API_KEY
    APIUSER=YOUR_USERNAME
    ```

    To obtain credentials, see [Authentication](/java-sdk/authentication).
  </Step>

  <Step title="Load credentials and send an email">
    ```java theme={null}
    import com.paubox.service.EmailService;
    import com.paubox.data.*;
    import com.paubox.config.ConfigurationManager;

    public class SendEmail {
        public static void main(String[] args) throws Exception {

            // Load credentials from config.properties
            ConfigurationManager.getProperties("config.properties");

            // Build the message
            Header header = new Header();
            header.setFrom("sender@yourdomain.com");
            header.setSubject("Your first Paubox email");

            Content content = new Content();
            content.setPlainText("This message was sent with the Paubox Java SDK.");

            Message message = new Message();
            message.setRecipients(new String[]{"recipient@example.com"});
            message.setHeader(header);
            message.setContent(content);

            // Send
            EmailService service = new EmailService();
            SendMessageResponse response = service.sendMessage(message);

            System.out.println("Sent. Tracking ID: " + response.getSourceTrackingId());
        }
    }
    ```
  </Step>

  <Step title="Check delivery status">
    ```java theme={null}
    GetEmailDispositionResponse disposition =
        service.getEmailDisposition(response.getSourceTrackingId());

    for (MessageDeliveries delivery :
         disposition.getData().getMessage().getMessageDeliveries()) {
        System.out.println(delivery.getRecipient()
            + " → " + delivery.getStatus().getDeliveryStatus());
    }
    ```
  </Step>
</Steps>

## Next steps

* [Email client](/java-sdk/email-client): CC/BCC, attachments, error handling
* [Forms client](/java-sdk/forms-client): retrieve form schemas and submit responses
