> For the complete documentation index, see [llms.txt](https://docs.thewalletcrew.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.thewalletcrew.io/connectors/pos/cegid/connect-with-cegid-retail-y2.md).

# Connect with Cegid Retail Y2

The connector with Cegid Retail Y2 (cloud and on-premise) allows Retailers to offer membership/loyalty cards and other coupons to their customers' phones. The creation of customer accounts and can be delegated via the Neostore registration form directly connected by API to the Cegid CRM.

The collection of information is then transferred to consumers' phones for fast, reliable, secure and completely GDPR-compliant entry.

#### Connector activation

To proceed with the setup, we need to establish a connection with the Cegid Y2 database. Create a user in the Cegid Y2 solution allowing The Wallet Crew to connect to the necessary Web services. The restrictions and access to the data to which this user can access must be defined in the Cegid application.

On The Wallet Crew connector tab, Cegid menu, enter the following information necessary to activate the connector.

* **service URL**: base URL where all Y2 WCF services are.
* **User name**: Username used to authenticate to Y2 services using basic authentication
* **Password**: Password used to authenticate to Y2 services using basic authentication
* **DatabaseId**: Name of the database use to access this Y2 services

<figure><img src="/files/pwFl3nz83iNd7nEuPMFf" alt="DatabaseId"><figcaption></figcaption></figure>

Clic **SAVE**

{% hint style="warning" %}
Please make sure chronos are properly activated on the store attached to the user. Pay attention to your password strategy in Cegid, which may potentially ask you to renew it every X days/months.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.thewalletcrew.io/connectors/pos/cegid/connect-with-cegid-retail-y2.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
