PolarGrid automatically routes to the fastest region when you use PolarGrid.create(). You can also specify one explicitly:
// Auto-select best region (recommended)const client = await PolarGrid.create({ apiKey: 'pg_...' });console.log(`Connected to: ${client.getRegionName()}`); // e.g., "Toronto"// Or specify a region explicitlyconst client = new PolarGrid({ apiKey: 'pg_...', region: 'toronto' // aliases: 'yto-01', 'yto'});