How to Run Examples

View as MarkdownMarkdown

Set up your AI agent

Give your coding agent live access to the GroupDocs documentation and API reference through the GroupDocs Docs MCP server — no install, no API key. Learn more

claude mcp add --transport http groupdocs-docs https://docs.groupdocs.com/mcp

Also process documents locally

The GroupDocs.Search MCP server lets your agent work with files on your machine; they are never uploaded. It runs in Docker: replace /path/to/documents with the folder it may use.

claude mcp add groupdocs-search -- docker run --rm -i -v /path/to/documents:/data ghcr.io/groupdocs-search/search-net-mcp:latest
Folders, licensing and more →

The complete project GroupDocs.Search Examples with code examples and sample files is hosted at Github.

Run examples using NPM

To get started make sure that Node.js is installed.

  1. Clone repository with examples git clone https://github.com/groupdocs-search/GroupDocs.Search-for-Node.js-via-Java.git
  2. Navigate to the examples folder cd ./GroupDocs.Search-for-Node.js-via-Java/
  3. Install the necessary packages with the npm install command.
  4. Navigate to the examples folder cd ./Examples
  5. Run the examples with the node runExamples.js command.

To check what examples are available open Examples/runExamples.js file using your favorite text editor. Uncomment examples that you want to run and type node runExamples.js to start them.

Contribute

If you like to add or improve an example, we encourage you to contribute to the project. All examples in this repository are open source and can be freely used in your own applications.

To contribute, you can fork the repository, edit the code example and create a pull request. We will review the changes and include it in the repository if found helpful.