| 
									
										
										
										
											2021-08-31 10:17:23 +05:30
										 |  |  | --- | 
					
						
							|  |  |  | description: This is a guide to create ingestion bot service account. | 
					
						
							|  |  |  | --- | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-09-01 23:29:30 +00:00
										 |  |  | # Create Service Account
 | 
					
						
							| 
									
										
										
										
											2021-08-31 10:17:23 +05:30
										 |  |  | 
 | 
					
						
							|  |  |  | ## Step 1: Enable Client-Credential
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | * Go to your project dashboard. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |  | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | * Click on `Application > Applicaiton` on the left side. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |  | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | * Select your application from the list. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |  | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | * Once selected, scroll down until you see `Application Properties` section. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |  | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | * In that change `Token Endpoint Authentication Method` from None to Basic. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |  | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | * Now scroll further down util you see `Addition Settings`. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |  | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | * Click on it and select `Grant Types`. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |  | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | * In the grant types, select `Client Credentials`. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |  | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | * Once done, click on `Save Changes`. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ## Step 2: Authorize the API with our Application.
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | * Go to `Application > APIs` available on the left side. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |  | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | * You will see the `Auth0 Management API`. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |  | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | * Select that API. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |  | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | * Select `Machine to Machine Applications` | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |  | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | * You will see you application listed below | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |  | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | * Click on the toggle to authorize. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |  | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | * Once done you will see the down arrow, click on it. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |  | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-09-01 23:29:30 +00:00
										 |  |  | * Select which permissions \(scopes\) should be granted to the client. \ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   Click on `Update`. | 
					
						
							| 
									
										
										
										
											2021-08-31 10:17:23 +05:30
										 |  |  | 
 | 
					
						
							|  |  |  |  | 
					
						
							| 
									
										
										
										
											2021-09-01 23:29:30 +00:00
										 |  |  | 
 |