# Creating Functions
If you have your verified account on latest.speckle.systems, navigate to latest.speckle.systems/functions (opens new window).
You will now see above the Functions Library. In the top right, there is a new function button:
This will launch the function creation wizard
Authorise GitHub: Required only the first time.
π‘ Authorized OAuth Apps
You will find Speckle Automate in your Github account Authorized OAuth Apps. Access can be revoked at any time, but will be necessary to publish new functions.
Choose a template: We are launching with Python and C# templates. These reflect our best-supported Speckle SDKs, speckle-sharp and specklepy. Each of our main SDKs includes the Automate SDK for that language.
Define your function. (Some of these details can be edited later)
Choose an avatar/logo/icon [optional]: This will be displayed in the functions list
Choose a Name [required]: This doesnβt need to be unique, but all functions will be a single list during the beta stages. The search filter will use the function name alone; it could be helpful if it identifies you as an author/company and the name/function intent. e.g. SolarFarmLayout by Solarcorp
Add a description [required]: This will be the short description used in the function list. The description supports basic Markdown if you wish to add markup.
Identify source application data supported [optional]: This may be helpful when defining Automations
Add Tags [optional]: A list of terms to categorise your function further. Multi-word tags should use _ or - characters. e.g. Solar_Panels
~~Select a Github Organization [optional]: This is only relevant if you want to publish as an organization and are a member of one.~~
Click Next: All being well, the wizard will create your function project on GitHub.
π§ββοΈ Wizard Actions
You will see that the wizard handles a lot of scaffolding for you. You can navigate to GitHub and see that the template project has been cloned under your repositories:
A GitHub action has been created for you; the specification for it is defined in
.github/workflows/**main.yml**
It also has injected two environmental variables as repository secrets for the interaction with the Automate API
SPECKLE_FUNCTION_ID
andSPECKLE_FUNCTION_TOKEN
:π‘ Note
Choose whatever Project restrictions you wish, but it must be Public for now.
Your function has been created! π₯³ At this point, the template can be edited and amended to suit your own business logic.
You can follow the links provided to:
- Open the repo: this is a link to the project on GitHub
- Open in codespace: You can get coding immediately in a virtual machine operating in a container at GitHub. Remember that any changes you make must be pushed to your project.
- Go to function: This will navigate you to your functions page within Speckle Automate.
Your function will only appear in the functions list (opens new window) once a first Release has been made.