--- title: "Introduction to Advanced Integrations Module" slug: "introduction-to-the-xgen-sdk" updated: 2025-06-13T20:25:47Z published: 2025-06-13T20:25:47Z canonical: "docs.xgen.ai/introduction-to-the-xgen-sdk" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.xgen.ai/llms.txt > Use this file to discover all available pages before exploring further. # Introduction to Advanced Integrations Module ​ ## **Installing the Advanced Integrations SDK** [Installing the SDK](/v1/docs/installing-the-sdk) section provides instructions on generating the SDK configuration script via the [Admin Dashboard](https://app.xgen.ai/admin-dashboard/). ## **XRecommend Documentation** - [**Product Catalog Mapping**](/v1/docs/product-catalog-mapping)**:** Guidelines on aligning your product catalog with XGEN's system.​ - [**Prediction Functions**](/v1/docs/getxgenprediction)**:** Methods like `getXGenPrediction` and `getXGenPredictions` for fetching recommendations.​ - [**Context Management:**](/v1/docs/context) Functions such as `setContext` and `clearContext` to manage contextual data.​ - [**Product Exclusion**](/v1/docs/excludeproducts)**:** Methods like `excludeProducts` and `clearExcludedProducts` to filter out specific products.​ - [**Product Detail Page (PDP) Settings**](/v1/docs/setpdpproduct)**:** Utilizing `setPDPProduct` for PDP configurations.​ - [**Recently Viewed Products**](/v1/docs/getrecentlyviewed)**:** Accessing `getRecentlyViewed` to retrieve a list of recently viewed items. ​ ## **XSearch Documentation** - [**Search Functionality**](/v1/docs/search-function)**:** Implementing search features using `search` and `getTypeToSearch`.​ - [**TypeAhead Methods**](/v1/docs/typetosearch-methods)**:** Employing `typeToSearch` and related methods for predictive search inputs.​ - [**Search Context**](/v1/docs/typetosearchcontext)**:** Managing search contexts with `typeToSearchContext`.​ - [**Search History:**](/v1/docs/search-history) Tracking user search histories.​ - [**Triggers and Contextual Pages**](/v1/docs/triggers)**:** Setting up triggers and managing contextual pages for dynamic search experiences.​ - [**Exclusion and PDP Product Settings**](/v1/docs/exclude)**:** Methods like `exclude` and `pdpProduct` for refining search results.​ - [**On-Page Match Detection**](/v1/docs/onpagematched)**:** Utilizing `onPageMatched` to identify and respond to specific page contexts.​ ## **Event Stream Tracking** - [**Product Tracking**](/v1/docs/trackpdp)**:** Functions such as `trackPDP`, `trackProductView`, `trackProductAdd`, and `trackPurchase` to monitor user interactions.​ - [**Category and Competition Tracking**](/v1/docs/trackcategoryview)**:** Methods like `trackCategoryView` and `trackCompetitionElement` for broader analytics.