Getting Started
Welcome to GL Smart Search! This guide will help you get started with web search in minutes.
Prerequisites
Before you begin, make sure you have completed the Prerequisites guide — specifically:
Python 3.11 or 3.12 installed
GL Smart Search SDK installed (
pip install smart-search-sdk)GL Smart Search credentials (Base URL and Token)
💡 Tip: If you haven't set up your credentials yet, follow the instructions in the Prerequisites guide to get your GL Smart Search Token.
Your First Web Search
Choose one of the integration methods below to get started:
SDK (Python)
Ideal for: Python developers who want a high-level interface with built-in error handling and type safety.
Step 1: Install the SDK
If you haven't already, install the GL Smart Search SDK:
pip install smart-search-sdkStep 2: Set Environment Variables
Configure your GL Smart Search credentials:
💡 Tip: Get your GL Smart Search Token from the Prerequisites guide.
Step 3: Perform a Web Search
Create a Python script and run your first search:
📚 Next Steps: Learn more about the GL Smart Search SDK for advanced usage.
MCP
Ideal for: Agentic systems, AI assistants, and MCP-compatible tools that need modular search capabilities.
Integrate GL Smart Search into any MCP-compatible system (Cursor, Windsurf, VS Code, etc.) for agent-based workflows.
Step 1: Configure Your Client
Add GL Smart Search MCP to your MCP client configuration. For example, in Cursor:
Open Cursor Settings
Go to
Features>MCP ServersClick
+ Add new global MCP serverEnter the following configuration:
Replace <SMARTSEARCH_TOKEN> with your GL Smart Search Token.
⚠️ Important: Do not omit the
Bearerprefix.Authorization: <token>will fail — it must beAuthorization: Bearer <token>.
Step 2: Verify It Works
Restart your client if needed (some clients require this to pick up configuration changes)
Check available tools — Your client should list the available tools from GL Smart Search MCP
Test a query — Try sending a message in your client with a query like:
📚 Next Steps: See the GL Smart Search MCP guide for detailed setup instructions for all supported clients and available tools.
CLI
Ideal for: Quick searches and testing directly from your terminal without writing code.
Step 1: Install the SDK
If you haven't already, install the GL Smart Search SDK:
Step 2: Set Environment Variables
Configure your GL Smart Search credentials:
Step 3: Run Your First Search
Use the CLI to perform a web search:
📚 Next Steps: Learn more about CLI commands for web search and connector operations.
Next Steps
Now that you've completed your first search, explore more capabilities:
Last updated
Was this helpful?