docs: migrated images to cloudinary from imgur (#2569)
This commit is contained in:
@@ -34,27 +34,27 @@ The first step is to create an Algolia app for your Medusa server. To create one
|
||||
|
||||
On the Applications page, click on the New application button at the top right.
|
||||
|
||||

|
||||

|
||||
|
||||
In the new page that opens, optionally enter a name for the application and choose a subscription plan. You can choose the Free plan for now, but it’s recommended to switch to the Pay-as-you-go plan as your business grows.
|
||||
|
||||

|
||||

|
||||
|
||||
Once you’re done, click on the Next Step button. If you picked Pay as you go service, you’ll need to enter billing details before you proceed.
|
||||
|
||||
Then, you’ll be asked to pick a region for your application. Once you’re done, click on Review Application Details.
|
||||
|
||||

|
||||

|
||||
|
||||
In the last step, you’ll see a summary of your order. If all looks good, check the checkboxes at the end of the form to indicate that you agree to the terms and conditions. Then, click on the Create Application button.
|
||||
|
||||

|
||||

|
||||
|
||||
## Retrieve API Keys
|
||||
|
||||
To retrieve the API keys that you’ll use in the next sections, go to Settings, then choose API Keys in the Team and Access section.
|
||||
|
||||

|
||||

|
||||
|
||||
On this page, you’ll find the Application ID, Search-Only API Key, and Admin API Key. You’ll need the Application ID and Admin API Key for the Medusa server. As for the storefront, you’ll need the Application ID and Search-Only API Key.
|
||||
|
||||
@@ -64,7 +64,7 @@ If you have more than one application in your Algolia account, make sure you’r
|
||||
|
||||
:::
|
||||
|
||||

|
||||

|
||||
|
||||
## Install the Algolia Plugin
|
||||
|
||||
@@ -128,7 +128,7 @@ npm run start
|
||||
|
||||
The quickest way to test that the integration is working is by sending a `POST` request to `/store/products/search`. This endpoint accepts a `q` body parameter of the query to search for and returns in the result the products that match this query.
|
||||
|
||||

|
||||

|
||||
|
||||
You can also check that the products are properly indexed by opening your Algolia dashboard and choosing Search from the left sidebar. You’ll find your products that are on your Medusa server added there.
|
||||
|
||||
@@ -138,7 +138,7 @@ If you have more than one application on your Algolia account, make sure you’r
|
||||
|
||||
:::
|
||||
|
||||

|
||||

|
||||
|
||||
### Add or Update Products
|
||||
|
||||
@@ -211,7 +211,7 @@ To make sure the Next.js storefront properly displays the products in the search
|
||||
|
||||
:::
|
||||
|
||||

|
||||

|
||||
|
||||
## Add to Gatsby and React-Based Storefronts
|
||||
|
||||
@@ -325,7 +325,7 @@ And add the `Search` component in the returned JSX before `RegionPopover`:
|
||||
|
||||
If you run your Gatsby storefront while the Medusa server is running, you should find a search bar in the header of the page. Try entering a query to search through the products in your store.
|
||||
|
||||

|
||||

|
||||
|
||||
## What’s Next
|
||||
|
||||
|
||||
Reference in New Issue
Block a user