#Slack client api for mobile app how to
The following procedure shows how to create a simple app that searches remote Slack data. You can obtain the Swagger definition by making the following request in your browser and then saving the resulting JSON file: Connect to Slack Through the API Server
You will use the metadata to create a Custom API connection. To do so, navigate to the www/app_data folder in the installation direction and modify the settings.cfg file to add the following line in the section: Last, you will need to configure the API Server to allow users to authenticate by passing the authtoken as a part of the URL.
The API Server uses authtoken-based authentication and supports the major authentication schemes. See the Getting Started section of the help documentation for an authentication guide.Īfter determining the OData services you want to produce, authorize users by clicking Settings -> Users. To authenticate using OAuth, you will need to create an app to obtain the OAuthClientId, OAuthClientSecret, and CallbackURL connection properties. Slack uses the OAuth authentication standard.
You can then choose the entities you want to allow the API Server access to by clicking Settings -> Resources. The API Server is also easy to deploy on Microsoft Azure, Amazon EC2, and Heroku.Īfter you deploy the API Server and the ADO.NET Provider for Slack, provide authentication values and other connection properties by clicking Settings -> Connections and adding a new connection in the API Server administration console. See the help documentation for more information and how-tos. On a Java servlet container, drop in the API Server WAR file. On Windows, you can deploy using the stand-alone server or IIS. With Swagger, Power Apps generates a complete set of formulas for working with Slack - this article shows how to use these formulas to connect your PowerApp to remote Slack data.įollow the steps below to begin producing secure Slack OData services: The CData API Server also supports the Swagger metadata standard, whose UI-generation and code-generation possibilities are utilized across Azure App Service, Power Automate, and Power Apps. The CData API Server provides database-like connectivity for Slack, augmenting the functionality of SaaS APIs and NoSQL databases with an in-memory SQL-92 engine. The CData API Server, when paired with the ADO.NET Provider for Slack (or any of 200+ other ADO.NET Providers), extends Power Apps with connectivity to remote data sources, without a need to maintain a separate copy of the data in the Power Apps Common Data Service. Microsoft Power Apps provides a drag and drop interface, underpinned by a rich set of formulas, for generating mobile and tablet apps that are connected to data.