flag-checkeredGetting 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.


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-sdk

Step 2: Set Environment Variables

Configure your GL Smart Search credentials:

💡 Tip: Get your GL Smart Search Token from the Prerequisites guide.

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:

  1. Open Cursor Settings

  2. Go to Features > MCP Servers

  3. Click + Add new global MCP server

  4. Enter the following configuration:

Replace <SMARTSEARCH_TOKEN> with your GL Smart Search Token.

⚠️ Important: Do not omit the Bearer prefix. Authorization: <token> will fail — it must be Authorization: Bearer <token>.

Step 2: Verify It Works

  1. Restart your client if needed (some clients require this to pick up configuration changes)

  2. Check available tools — Your client should list the available tools from GL Smart Search MCP

  3. 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:

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:

  • SDK Guide – Learn advanced GL Smart Search SDK features for web search and connectors

  • MCP Guide – Set up GL Smart Search MCP integration for agentic workflows

  • CLI Guide – Master command-line operations

  • Resources – Access authentication guides and developer references

Last updated

Was this helpful?