What do you want to automate

with Instant and RunPod?

Prompt, edit and deploy AI agents that connect to Instant, RunPod and 2,500+ other apps in seconds.

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Integrate the Instant API with the RunPod API
Setup the Instant API trigger to run a workflow which integrates with the RunPod API. Pipedream's integration platform allows you to integrate Instant and RunPod remarkably fast. Free for developers.

Connect Instant

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import { init, id } from '@instantdb/admin';
export default defineComponent({
  props: {
    instant: {
      type: "app",
      app: "instant",
    }
  },
  async run({steps, $}) {
    const db = init({
      appId: this.instant.$auth.app_id,
      adminToken: this.instant.$auth.admin_token,
    });
    return await db.query({ _: {} });
  },
})

Connect RunPod

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    runpod: {
      type: "app",
      app: "runpod",
    }
  },
  async run({steps, $}) {
    const data = {
      "query": `query GpuTypes { gpuTypes { id displayName memoryInGb } }`,
    }
    return await axios($, {
      method: "post",
      url: `https://api.runpod.io/graphql`,
      headers: {
        "Content-Type": `application/json`,
      },
      params: {
        api_key: `${this.runpod.$auth.api_key}`,
      },
      data,
    })
  },
})

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo