# Setup Facebook Login

Visit <https://developers.facebook.com/> and login to your Facebook account

On the top right corner, select "My Apps" and press "Add New App"

![](https://storage.crisp.chat/users/helpdesk/website/e903fdb8557a9800/image_aqheot.png)

Fill out the form and create the app

On the app dashboard the left menu, select "Settings > Basic". Enter your website domain into the "App Domains" field

![](https://storage.crisp.chat/users/helpdesk/website/e903fdb8557a9800/image_iokp6p.png)

Scroll down and press the "Add Platform" button and select "Website

![](https://storage.crisp.chat/users/helpdesk/website/e903fdb8557a9800/image_5fdlaq.png)

Enter your ordering site URL into the "Site URL" box and then press "Save Changes" on the bottom right.

![](https://storage.crisp.chat/users/helpdesk/website/e903fdb8557a9800/image_pa5uog.png)

On the left navigation menu, press "Products" and press the "Set Up" button for Facebook Login.

On the next screen, select "Web", you should see your "Site URL" already filled out, press "Save"

![](https://storage.crisp.chat/users/helpdesk/website/e903fdb8557a9800/image_gdcuti.png)

On the left menu, under "Products > Facebook Login", select "Settings"

Enable "Embedded Browser OAuth Login"

Enter your store domain into the "Valid OAuth Redirect URIs" field and press "Save Changes"

![](https://storage.crisp.chat/users/helpdesk/website/e903fdb8557a9800/image_hbyf21.png)

Finally, copy your Facebook App ID as shown on the top of the app dashboard

![](https://storage.crisp.chat/users/helpdesk/website/e903fdb8557a9800/image_yxw5jy.png)

With the App ID copied, visit your restaurant dashboard and to "Settings > System > Customer Accounts > Facebook". Paste your App ID and press save

![](https://storage.crisp.chat/users/helpdesk/website/e903fdb8557a9800/image_u1lgnf.png)

Visit your online store and confirm that the Facebook login option is available under the "Login / Signup" popup

![](https://storage.crisp.chat/users/helpdesk/website/e903fdb8557a9800/image_1c1swn7.png)


---

# 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://pumpd-co.gitbook.io/pumpd-docs/how-to-guides/setup-facebook-login.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.
