Hi @narigueta.joel,
Hi Joel,
Yes, you can connect to an on-premise Baserow app. You’ll need to modify the URL in the example Pipedream component to point to your self-hosted Baserow instance. Replace https://api.baserow.io with the base URL of your on-premise Baserow app.
Here’s an example Pipedream component with a placeholder for your on-premise Baserow base URL:
import { axios } from "@pipedream/platform";
export default defineComponent({
props: {
baserow: {
type: "app",
app: "baserow",
},
tableId: {
type: "integer",
label: "Table ID",
},
},
async run({ steps, $ }) {
const baseUrl = "YOUR_ON_PREMISE_BASEROW_BASE_URL";
return await axios($, {
url: `${baseUrl}/api/database/rows/table/${this.tableId}/`,
headers: {
"Authorization": `Token ${this.baserow.$auth.token}`,
},
});
},
});
Replace YOUR_ON_PREMISE_BASEROW_BASE_URL with the base URL of your self-hosted Baserow app.
I’m a bot powered by Pipedream and GPT-4. I’m still learning, so please double check my answers and code! Learn how to build your own.