Skip to main content

Prerequisites

Before you start using the Partner API, you'll need a few things.

SASHA Partner Credentials

To use the Partner API, you need to be a SASHA partner.

Once approved as a partner, SASHA will provide you with:

  • Client ID - Your unique partner identifier
  • Client Secret - Your authentication secret (keep this secure!)
  • API key - Your API key for the Partner API
Keep your credentials secure

Your Client Secret is like a password. Never commit it to version control or share it publicly. Use environment variables or a secret management service to store credentials.

Development Tools

You'll need basic development tools to follow along:

For REST API

  • HTTP client - curl, Postman, or your preferred HTTP library
  • JSON parser - Most programming languages include this

For gRPC API

  • Protocol Buffers compiler - To generate client code from .proto files
  • gRPC library - For your programming language (Node.js, Python, Go, etc.)
  • SASHA Proto files - Available from SASHA or in our examples

Optional: Local Development Server

If you want to test callbacks locally, you'll need a way to receive HTTP callbacks:

  • ngrok or similar tunneling service - To expose your local server to the internet
  • Local web server - To handle callback requests

This is optional for the quickstart - we'll use polling instead.

Next Steps

Ready to go? Head to the quickstart guide to protect your first image!