Skip to content

Quick Start - Star Repository on GitHub

In this guide, you will learn how to seamlessly integrate your GitHub account with ByteChef to automate the process of starring a repository. We will walk you through creating a project in ByteChef, setting up a workflow, and running it to achieve your goal.

Create Project

  1. Navigate to the Projects tab in ByteChef.
  2. Click on the Create Project button.
  3. Enter a project name. Optionally, add a description, select a category, and include relevant tags.
  4. Click Save.

Create Workflow

  1. Click on arrow under the project name.
  2. Click on the Create Workflow button.
  3. Enter a label for your workflow and optionally provide a description.
  4. Click Save.

Add Component

  1. Click on the + button to add component.
  2. Find and select the GitHub component.
  3. Choose the Star Repository action from the list.
  4. Click on the Connection tab.
  5. Click Create Connection.
  6. Enter a connection name and paste the Client ID and Client Secret from GitHub.
  7. Click Next.
  8. Click Connect.
  9. Click Authorize.
  10. Click on Choose Connection.
  11. Select the connection you just created.
  12. Go to the Properties tab.
  13. For Owner, enter the repository owner’s name (e.g., bytechefhq).
  14. For Repository, enter the repository name (e.g., bytechef).

Run Workflow

  1. Click Run to execute the workflow. The repository will be starred.
  2. Verify by checking the Stars tab in your GitHub account to see the newly starred repository.

Additional Instructions

Connect GitHub Account

  1. Login to your GitHub account.
  2. Click on your profile icon in the top right corner.
  3. Select Settings from the dropdown menu.
  4. In the left sidebar, click on Developer settings.
  5. In the left sidebar, click on OAuth Apps.
  6. Click on New OAuth App.
  7. Fill in the required fields:
    • Application name: Enter a name for your application (e.g., Test App).
    • Homepage URL: Provide the homepage URL for your application (e.g., https://www.bytechef.io/).
    • Authorization callback URL: Specify the URL where users will be redirected after authorization (e.g., http://127.0.0.1:5173/callback).
  8. Click Register application.
  9. Click on Generate a new client secret.
  10. Copy the Client ID and Client Secret for later use.