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

# Simple Demo Connector

[localhost link]: http://localhost:3000/docs/5/fusion/dev-portal/connectors-sdk/simple-demo-connector

[mintlify link]: https://doc.lucidworks.com/docs/5/fusion/dev-portal/connectors-sdk/simple-demo-connector.md

[old doc.lw link]: https://doc.lucidworks.com/fusion/5.9/cbcyor.md

This connector generates a configurable number of documents, all with random titles and body fields.

> [card] Key questions to get you started
>
> Powered by Lucidworks Agent Studio

## Quick start

1. Clone the repo:

   ```
   git clone https://github.com/lucidworks/connectors-sdk-resources.git
   cd connectors-sdk-resources/java-sdk/connectors/
   ./gradlew assemblePlugins
   ```

2. This produces one zip file, named `simple-connector.zip`, located in the `build/plugins` directory.\
   This artifact is now ready to be uploaded directly to Fusion as a connector plugin.

3. See the [instructions](https://github.com/lucidworks/connectors-sdk-resources/tree/main/java-sdk) on how to build, deploy, and run the plugin.

## Connector properties

### Random content generator properties

| Property Name | Property description |
| - | - |
| Total | The total number of documents to generate |
| Minimum number of sentences | The minimum number of sentences to generate per document, the random generator will use this value as lower bound to calculate a random number of sentences |
| maximum number of sentences | The maximum number of sentences to generate per document, the random generator will use this value as upper bound to calculate a random number of sentences |

## How to use the connector

* Create a configuration with the properties listed above.
* After the first job is completed, the connector will index the same number of documents as defined in the `Random content generator properties.Total` property.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.