- Step1: Install the Spider client package via npm (npm install @spider/clients) or pip (pip install spider-clients).
- Step2: Configure your API endpoint and authentication token in environment variables or config file.
- Step3: Import and initialize the client in your code with endpoint URL and token.
- Step4: Register any custom tools and define your chain prompt templates.
- Step5: Execute workflows by calling client.run() or creating interactive sessions.
- Step6: Handle streaming responses and errors using provided callbacks.
- Step7: Monitor logs, metadata, and retry behavior through built-in utilities.