```javascript import { Client, Apps } from 'appwrite'; const client = new Client() .setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint .setProject(''); // Your project ID const apps = new Apps(client); const result = await apps.createKey({ appId: '', }); console.log(result); ```