# 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/Cdhw9YCmnlhJQBtJGs3B" 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: 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:

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

The question should be specific, self-contained, and written in natural language.
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.
