In this example we will create a custom connector for the Star Wars API,
The first thing we need to do is create a connector for the Star Wars API.
From the Power Apps Portal navigate expand the Dataverse menu and click Custom Connectors, then click New customer connector.
Select Import an OpenAPI form URL.
Provide a Connector name, in my example, I called it Star Wars API
, and then use the following Url for the Open Api:
1 |
https://gist.githubusercontent.com/mattruma/597d953659ad8c884d2bf62c2a39eb5f/raw/65261e361f8a6db9b223e9eafaf376ced5564ac9/Star-Wars-API.swagger.json |
Then click Import and then Continue.
Once Open Api file has been successfully imported, click Create connector to save the new connector.
Once the connector has completed saving, click Test.
Click New connection.
You will be prompted to confirm the creation of a new connection, click Confirm.
Once the connection has completed saving, you will be redirected to a list of Connections.
Navigate back to the Customer Connectors and click the Edit icon.
If everything was setup correctly, you receive a 200
status code from the Start Wars API, along with the first 10 people.
That’s it!
Discover more from Matt Ruma
Subscribe to get the latest posts sent to your email.