> This page is for Product Documentation.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.navipartner.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.navipartner.com/_mcp/server.

# Connect your AI to NP Retail

You can use an AI assistant, such as ChatGPT or Claude, to get answers about NP Retail and NP Attraction in everyday language. Point the assistant to NaviPartner documentation, NaviPartner source code on GitHub, and Microsoft Business Central documentation. You can then ask how features work, how to configure them, and why a process behaves a certain way.

The assistant should look up the relevant sources for each question and not rely only on its general training.

> **Warning**
>
> AI-generated answers can be wrong. Check the linked sources before you change anything in a production environment.

## Quick start

Send this message to an AI assistant that can read websites:

```text
Read and follow the AI usage instructions on this NaviPartner documentation page: https://docs.navipartner.com/product/retail-gettingstarted-connect-ai
Answer my NaviPartner product questions using NaviPartner documentation and, when useful and accessible, its GitHub AL source code. Use official Microsoft Business Central documentation for standard BC functionality. Whenever you use Microsoft documentation, explicitly label it as Microsoft Business Central documentation and link the specific Microsoft Learn article. Show links to the actual sources you checked, and identify uncertainties.
```

> **Note**
>
> A link in a prompt doesn't connect an AI tool to a website or to GitHub. The tool needs web browsing or website reading turned on, and GitHub access can require a separate connection. Features differ between AI tools, plans, and workspaces.

If your assistant can't open this page, follow the setup steps below and paste the [reusable instructions](#reusable-instructions-for-your-ai-assistant) into it.

## Sources for your AI assistant

| Source                                                                                                                   | What the assistant uses it for                                                                                |
| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------- |
| [NaviPartner documentation](https://docs.navipartner.com/)                                                               | Product guides, setup, workflows, field descriptions, and API references.                                     |
| [AI-readable documentation index](https://docs.navipartner.com/llms.txt)                                                 | Finding relevant articles. The assistant must open the articles themselves, not only the index.               |
| [NaviPartner source code](https://github.com/navipartner/npcore-partners)                                                | Checking AL implementation, validations, actions, and technical behavior when the documentation isn't enough. |
| [NaviPartner releases](https://github.com/navipartner/npcore-partners/releases)                                          | Comparing behavior between versions, when your installed version is known.                                    |
| [NaviPartner changelog](https://docs.navipartner.com/changelog)                                                          | Finding documented changes and fixes.                                                                         |
| [Microsoft Dynamics 365 Business Central documentation](https://learn.microsoft.com/en-us/dynamics365/business-central/) | Standard Business Central features, setup, administration, permissions, and background processing.            |

**Use the right source for each question.** NaviPartner documentation and source code explain NaviPartner-specific functionality. Microsoft documentation explains the standard Business Central functionality that NaviPartner products run on.

When an answer uses both, the assistant must label which statements come from **Microsoft Business Central documentation** and which come from **NaviPartner documentation** or **NaviPartner source code**, with separate links. Microsoft documentation must never be used to confirm NaviPartner-specific behavior.

> **Tip**
>
> You can append `.md` to any NaviPartner documentation page URL to get a Markdown version, which some AI tools read more reliably. If your tool can't open it, use the normal page URL.

## Set up your AI assistant

### ChatGPT

Feature names and availability can differ by ChatGPT plan, workspace, and interface.

1. In ChatGPT, open **Settings** > **Apps** (or **Connectors**, depending on your interface).
2. Find **GitHub** and connect your GitHub account, if the integration is available to you.
3. In the GitHub authorization flow, select the repositories you want to connect. The NaviPartner repository might not be listed, because the connector usually only offers repositories that your account or organization owns or has installed the app on.
4. If you can't connect `navipartner/npcore-partners`, ask ChatGPT to open the [public repository](https://github.com/navipartner/npcore-partners) with web browsing instead. Searching the whole repository is more limited this way, so you might need to give the direct link to a specific file.
5. Paste the [reusable instructions](#reusable-instructions-for-your-ai-assistant) into the chat, or into the instructions of a dedicated project if your plan supports projects.

The GitHub integration only reads repository content. It doesn't connect ChatGPT to your Business Central environment or show it your company's setup or transactions.

### Claude

The options depend on your Claude plan and workspace settings.

1. In Claude, create a project for NaviPartner product questions, so you can reuse the same instructions.
2. Add the [reusable instructions](#reusable-instructions-for-your-ai-assistant) to the project instructions.
3. Turn on web search so Claude can read `https://docs.navipartner.com/` and, for standard Business Central behavior, `https://learn.microsoft.com/en-us/dynamics365/business-central/`.
4. Optionally, in the project knowledge, select **+** > **GitHub**, connect your GitHub account, and select `navipartner/npcore-partners` with the relevant files or folders. If your organization must approve the integration, ask your administrator.
5. When you need answers based on newer code, sync the GitHub content again.

For the current options, see [Claude's GitHub integration instructions](https://support.claude.com/en/articles/10167454-use-the-github-integration).

### Other AI tools

You can follow the same approach in any AI tool that can read current websites:

1. Turn on the tool's web browsing or website reading.
2. Give it the NaviPartner documentation index and the Microsoft Business Central documentation link.
3. If the tool can connect public third-party GitHub repositories, add the NaviPartner repository. Otherwise, let it open the public repository and individual source files through website reading.
4. Save the reusable instructions in the tool's project, workspace, agent, or custom instructions, if it has them.
5. Ask the tool for direct links to confirm that it actually read the sources.

If the tool can't access websites at all, you can upload selected documentation pages as files, where permitted. Uploaded copies don't update automatically.

## Reusable instructions for your AI assistant

Copy the following text into your AI chat or into your assistant's persistent instructions:

```text
You are my NaviPartner product knowledge assistant.

Use these sources when answering questions about NaviPartner products:
- NaviPartner product documentation: https://docs.navipartner.com/
- NaviPartner documentation index: https://docs.navipartner.com/llms.txt
- NaviPartner product source code: https://github.com/navipartner/npcore-partners
- NaviPartner release history: https://github.com/navipartner/npcore-partners/releases
- NaviPartner product changelog: https://docs.navipartner.com/changelog
- Official Microsoft Business Central documentation:
  https://learn.microsoft.com/en-us/dynamics365/business-central/

For every question:
1. Look up relevant current NaviPartner documentation pages. Use the documentation
   index to find pages, then read the relevant pages themselves.
2. If the question involves standard Microsoft Dynamics 365 Business Central
   functionality, look up the relevant official Microsoft documentation as well.
   Do not use Microsoft documentation to establish NaviPartner-specific behavior.
3. Give me a practical answer focused on how the product works and what I should do.
4. For NaviPartner technical behavior, field rules, or unexplained results, investigate
   relevant AL source files in the NaviPartner GitHub repository if you have access.
5. When possible, match the explanation to my installed NaviPartner app and
   Business Central versions. Do not assume current docs or the repository's
   default branch match my environment.
6. Include direct links to the specific documentation pages and source files
   you actually consulted; do not cite only documentation homepages.
7. Explicitly identify whenever you use Microsoft Business Central documentation.
   Label the relevant information as "Microsoft Business Central documentation"
   and include its direct Microsoft Learn link. Distinguish it from "NaviPartner
   documentation" and "NaviPartner source code" in answers that use both.
8. Distinguish verified documentation, source-code findings, and inference.
9. If sources conflict, explain the discrepancy and possible version differences.
10. Never invent Business Central page names, field captions, actions, requirements,
    or functionality. Say explicitly when something could not be verified.
11. Do not assume you have access to my Business Central setup or business data.
    Ask me for the relevant settings or a redacted screenshot only when necessary.
12. Do not change any repositories or systems. Answer questions unless I explicitly
    request a permitted action.

If you cannot open a source, say which access is missing and answer only to the
extent supported by material you can actually read.
```

## Example questions

* **Feature setup:** "How do I set up a ticket type in NP Attraction? Explain the prerequisites and the order of configuration."
* **Field behavior:** "What does Default Schedule do on Ticket Admission, and how does it affect ticket sales?"
* **Capacity rules:** "How are capacity restrictions enforced when selling tickets for an event? Check the documentation and source code."
* **Membership renewal:** "A membership renewal isn't available in the POS. Which setup and validation rules should I check?"
* **Integrations:** "Where is the API documentation for creating tickets from an external system? Walk me through the process."
* **Version differences:** "Does this feature exist in my installed NP Retail version? Compare the relevant release with the current code."
* **Business Central and NaviPartner together:** "How do Business Central job queues work, and how does NaviPartner notify me when a job queue entry fails? Clearly label which findings come from Microsoft documentation and which come from NaviPartner documentation or code."

You can continue in the same conversation, for example: "Show me where that validation is implemented," or "Which parts of your answer aren't confirmed by the documentation?"

### Example of a mixed-source answer

For the last question above, a good answer keeps the sources apart, similar to this:

> **Microsoft Business Central documentation:** Job queue entries run tasks such as reports and codeunits in the background, on a schedule you define. Source: [Use Job Queues to Schedule Tasks](https://learn.microsoft.com/en-us/dynamics365/business-central/admin-job-queues-schedule-tasks)
>
> **NaviPartner documentation:** NP Retail can notify recipients by SMS or email when a job queue entry fails and needs user input, and can retry the entry. Source: [Send notifications for failed job queue entries and retry](https://docs.navipartner.com/product/retail-posting-setup-failed-job-notif)
>
> **Not verified:** I didn't check the source code, so I can't confirm how retries behave in your installed version.

If an answer mixes the sources without labels or links, ask the assistant to separate them.

## What your AI assistant can and can't know

**It can help with:** NaviPartner product concepts, feature setup, documented workflows, page and field behavior, integration patterns, source code investigation (when it has access), and standard Business Central functionality from Microsoft documentation.

**It can't see automatically:** your installed Business Central and NaviPartner versions, custom extensions, enabled features, permissions, company setup, or business data. For environment-specific problems, you might need to share non-sensitive details or contact NaviPartner support.

**It might be out of date:** saved chats, uploaded files, and synced repository snapshots can be older than the current documentation or your installed version. Ask the assistant to read the sources again when it matters.

## Troubleshooting

| Problem                                                  | What to try                                                                                                                                                                                                               |
| -------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| The AI can't open the documentation website or index.    | Check that web browsing or website reading is turned on. Ask it to open [docs.navipartner.com](https://docs.navipartner.com/) and specific articles directly.                                                             |
| The AI can't access the GitHub repository.               | Check that the GitHub integration is authorized and the repository is in scope. Otherwise, give it a direct link to the public source file, for example a file URL from `https://github.com/navipartner/npcore-partners`. |
| GitHub is connected, but the AI only uses documentation. | Ask it to check the specific page, table, procedure, or validation in `navipartner/npcore-partners` and link the source file.                                                                                             |
| The functionality isn't documented.                      | Ask the AI to check the source code and to say clearly which parts are source code findings and which are inference.                                                                                                      |
| The answer doesn't match your environment.               | Give the AI your installed app version. Ask it to compare the code for that release, rather than assume the default branch matches your environment.                                                                      |
| The answer has no exact links.                           | Ask: "Which NaviPartner and Microsoft Business Central documentation pages or GitHub files did you actually read? Link them and say which statements rely on each source."                                                |
| The answer is uncertain or affects important processes.  | Confirm it in the product or contact NaviPartner support before you change production settings.                                                                                                                           |

## Data protection and source code usage

The [NaviPartner source code repository](https://github.com/navipartner/npcore-partners) is publicly viewable, but the code isn't open source. According to the [repository license](https://github.com/navipartner/npcore-partners/blob/master/LICENSE.md), using the code requires a commercial relationship with NaviPartner that explicitly grants usage rights. Follow your agreement with NaviPartner and your company policies when you use the source code with third-party AI services.

* Don't include credentials, API keys, personal data, or confidential customer records in prompts.
* Give AI tools only the GitHub access they need.
* Review the AI tool's data handling settings and your organization's approval rules before you connect it.

## Other ways to get help

The NaviPartner documentation website has its own **Ask AI** option at the top of each page. For unresolved questions about your environment, contact [NaviPartner support](https://support.navipartner.com/).