Documentation Index
Fetch the complete documentation index at: https://docs.neuronsearchlab.com/llms.txt
Use this file to discover all available pages before exploring further.
Set up your access
NeuronSearchLab is a hosted API service that provides real-time personalized recommendations through an API, SDK, and a web console. You do not need to deploy or install anything - just sign up and generate your API credentials.Register or log in
Go to console.neuronsearchlab.com/signup or login to create an account. You can invite teammates later from the User Management page in Settings.
Generate client credentials
Once logged in, open SDK Credentials in Settings and create a new client. Copy the Client ID and Client Secret. They are required to authenticate your backend services.
Authenticate securely
Create a backend route that exchanges your client credentials for an access token. The token scopes enforce what each service can do.Cache the access token
Cache the resulting access token until it expires. Tokens default to 60 minutes.
Make your first API call
With an access token you can request recommendations immediately. The following example retrieves homepage content for a known user using context ID101:
limit, filter, or scope to tailor the response. Responses include ranked items with associated metadata so you can render UI components quickly.
If you prefer higher level abstractions, use one of the official SDKs from your backend:
- JavaScript/TypeScript:
@neuronsearchlab/sdkon npm - PHP/Laravel:
neuronsearchlab/sdk-phpon Packagist
Explore the console
In addition to the API and SDK, you can manage your data and monitor performance through the NeuronSearchLab Console. Key areas include:- Dashboard — Usage overview, credit tracking, and setup checklist.
- Context — Define contexts for each recommendation surface with retrieval settings and pre-query filters.
- Rules Engine — Create business rules to boost, bury, pin, filter, cap, diversify, dedupe, randomize, reorder, group, or topic-weight results.
- Pipeline Config — Control the multi-stage recommendation pipeline.
- Explainability — Debug why a specific item was recommended to a specific user.
- Analytics — Track recommendation volume, engagement events, and performance over time.
- Items & Users — Browse your catalog and user embeddings.
- A/B Testing — Split traffic between strategies and measure impact.
- NeuronSearchLab AI — Conversational assistant for managing recommendations through natural language.
Recommended training workflow
When you are ready to train your first recommendation version:
This keeps training inputs, version review, and live rollout decisions clearly separated.
Extend your integration
NeuronSearchLab supports rich documentation and examples to help you integrate quickly and effectively.PHP SDK
Install the official PHP SDK with Composer for Laravel or any PHP service.
JavaScript SDK
Use the official npm package from Node.js or TypeScript services.
Serve Recommendations
Ship real-time personalized recommendations with context-aware request patterns.
Connect Catalog + Events
Keep item metadata and engagement signals flowing for recommendation quality.
Launch New Contexts
Roll out a new recommendation surface with measurable business outcomes.
Track Events
Log impressions, clicks, and conversions to power near real-time learning.
Submit Items
Send product or content metadata to build and refresh your catalog.
Get Recommendations
Retrieve personalized results that respect context filters and ranking rules.

