Skip to content

Commit e64046f

Browse files
Update search.mdx based on issue #231
1 parent cb5ff16 commit e64046f

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

fern/products/docs/pages/customization/search.mdx

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,23 @@ It includes built-in filters that let users refine their searches by content typ
1616
- **Guides:** Filters results by non-API reference documentation.
1717
- **Changelog:** Filters results by changelog updates.
1818

19-
If you are using the AI Search feature, the search box also functions as your sites chat window.
19+
If you are using the AI Search feature, the search box also functions as your site's chat window.
2020

2121
<Note>
2222
**Note:** If an article includes the `nofollow` or `noindex` [frontmatter](/learn/docs/content/frontmatter#indexing-properties), it will not be indexed by Algolia DocSearch and won't appear in search results.
2323
</Note>
2424

25+
## Using Fern's Algolia in your application
26+
27+
If you want to integrate Fern documentation search into your own application, you can request Algolia credentials from the Fern team. These credentials will allow you to directly query the same search index that powers your Fern documentation site.
28+
29+
To get started:
30+
1. Contact the Fern team to request Algolia credentials
31+
2. Use the provided credentials to initialize the Algolia client in your application
32+
3. Query the search index using Algolia's API
33+
2534
## Using an alternative search
2635

2736
You can override Fern's search with your own solution.
2837
[Here](https://github.com/deepgram/deepgram-docs/blob/main/fern/assets/component.js) is an example of custom JavaScript a customer used to replace the default search with their own implementation and additional features.
29-
To learn more, see [Custom JavaScript](/learn/docs/building-and-customizing-your-docs/custom-css-global-js#custom-javascript).
38+
To learn more, see [Custom JavaScript](/learn/docs/building-and-customizing-your-docs/custom-css-global-js#custom-javascript).

0 commit comments

Comments
 (0)