Automate data and analytic processing at scale to enable intelligent decisions across the enterprise.
Go to siteimport { axios } from "@pipedream/platform"
export default defineComponent({
props: {
alteryx_analytics_cloud: {
type: "app",
app: "alteryx_analytics_cloud",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.alteryx_analytics_cloud.$auth.region}.alteryxcloud.com/v4/people/current`,
headers: {
Authorization: `Bearer ${this.alteryx_analytics_cloud.$auth.oauth_access_token}`,
},
})
},
})
Alteryx Analytics Cloud uses OAuth authentication. When you connect your Alteryx Analytics Cloud account, Pipedream will open a popup window where you can sign into Alteryx Analytics Cloud and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Alteryx Analytics Cloud API.
Pipedream requests the following authorization scopes when you connect your account:
POST
{{custom_fields.iss_url}}/token
accept: application/json
content-type: application/x-www-form-urlencoded
grant_type=refresh_token
&
client_id={{custom_fields.client_id}}
&
refresh_token={{custom_fields.refresh_token}}