## Configure connection `client.connections.configure(stringconnectionID, ConnectionConfigureParamsbody, RequestOptionsoptions?): ConnectionConfigureResponse` **post** `/v3/connections/{connectionId}/configure` Configure resources for a connection (supported providers: GitHub for now) ### Parameters - `connectionID: string` - `body: ConnectionConfigureParams` - `resources: Array>` ### Returns - `ConnectionConfigureResponse` - `message: string` - `success: boolean` - `webhooksRegistered?: number` ### Example ```typescript import Supermemory from 'supermemory'; const client = new Supermemory({ apiKey: process.env['SUPERMEMORY_API_KEY'], // This is the default and can be omitted }); const response = await client.connections.configure('connectionId', { resources: [{ foo: 'bar' }], }); console.log(response.message); ``` #### Response ```json { "message": "message", "success": true, "webhooksRegistered": 0 } ```