> For the complete documentation index, see [llms.txt](https://docs.gapvelocity.ai/blackdiamond-studio-or-mobilize.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gapvelocity.ai/blackdiamond-studio-or-mobilize.net/blackdiamond-studio-documentation/code-conversions/converting-scala-code-using-snowpark.md).

# Converting Scala code using Snowpark

BlackDiamond Studio identifies and transforms the usages of the Apache Spark API to their Snowpark functional equivalent.

Check more information about the [Scala Conversion tool](https://docs.mobilize.net/snowconvert/for-spark-scala/introduction).

## **Conversion Steps**

### **Convert Scala from the portal**

Please refer to the project creation wizard step: [Upload my source code](/blackdiamond-studio-or-mobilize.net/blackdiamond-studio-documentation/bds-portal/creating-my-first-project/5.-code.md).

### **Convert Scala from the IDE**

Please check the [Converting from the IDE guide.](/blackdiamond-studio-or-mobilize.net/blackdiamond-studio-documentation/code-conversions/converting-from-the-ide.md)&#x20;
